Skip to content
Commit 5ae0e621 authored by Marius Vlad's avatar Marius Vlad
Browse files

weston-log/weston-log-wayland: Inline private subscription functions



This avoids duplicated bits, by calling the scopes's callback (if any)
and adding the subscription to the scope's subscription list. Further
more, the scope's name when creating the subscription is not needed so
removed that as well.

In mirror, also inline removing of subscription for scope's subscription
list. Fix a potential corner case when the user can request a
subscription to an invalid scope in stream_destroy().

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 9f71a4ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment