libweston: Remove signals from the list during de-init
During de-init ensure removal of added signals from list. Otherwise a dongling pointer is left behind which will affect other plugins. Signed-off-by: Harsha M M <harsha.manjulamallikarjun@in.bosch.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
committed by
Pekka Paalanen
parent
103dc42b5e
commit
b8b2c72709
@@ -4911,6 +4911,7 @@ shell_destroy(struct wl_listener *listener, void *data)
|
||||
wl_client_destroy(shell->child.client);
|
||||
}
|
||||
|
||||
wl_list_remove(&shell->destroy_listener.link);
|
||||
wl_list_remove(&shell->idle_listener.link);
|
||||
wl_list_remove(&shell->wake_listener.link);
|
||||
wl_list_remove(&shell->transform_listener.link);
|
||||
|
||||
Reference in New Issue
Block a user