mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-23 07:32:20 +00:00
Remove listener link after tablet_manager destroy
This commit is contained in:
parent
6af77e3d9e
commit
9f511ae942
@ -283,6 +283,7 @@ void wlr_tablet_v2_destroy(struct wlr_tablet_manager_v2 *manager) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
wlr_signal_emit_safe(&manager->events.destroy, manager);
|
wlr_signal_emit_safe(&manager->events.destroy, manager);
|
||||||
|
wl_list_remove(&manager->display_destroy.link);
|
||||||
wl_global_destroy(manager->wl_global);
|
wl_global_destroy(manager->wl_global);
|
||||||
free(manager);
|
free(manager);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user