mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
ext-data-control: add missing listener list assertion
This commit is contained in:
parent
84fc6aaf5a
commit
9c51424f8d
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue