ext-data-control: add missing listener list assertion

This commit is contained in:
Kirill Primak 2025-03-13 12:03:02 +03:00
parent 84fc6aaf5a
commit 9c51424f8d

View file

@ -669,6 +669,7 @@ static void handle_display_destroy(struct wl_listener *listener, void *data) {
wl_signal_emit_mutable(&manager->events.destroy, manager);
assert(wl_list_empty(&manager->events.destroy.listener_list));
assert(wl_list_empty(&manager->events.new_device.listener_list));
wl_list_remove(&manager->display_destroy.link);
wl_global_destroy(manager->global);