weston-log: Add 'destroy_subscription' callback for the subscription

As 'new_subscription' can create additional objects, 'destroy_subscription'
will be needed when cleaning up.

As this requires a libweston_major bump (noticed by @pq), bump it up to
8.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Suggested-by: Daniel Stone <daniel.stone@collabora.com>
This commit is contained in:
Marius Vlad
2019-07-29 12:02:47 +03:00
parent 0c7beb0b67
commit 9bb1c3a3c2
9 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -819,7 +819,7 @@ weston_module_init(struct weston_compositor *compositor)
compositor->weston_log_ctx,
"pipewire",
"Debug messages from pipewire plugin\n",
NULL, NULL);
NULL, NULL, NULL);
pipewire->destroy_listener.notify = weston_pipewire_destroy;
wl_signal_add(&compositor->destroy_signal, &pipewire->destroy_listener);