mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05:00
project wide: clean up event listeners on shutdown (part 2)
This commit is contained in:
parent
b8568c3258
commit
140e913c44
3 changed files with 6 additions and 2 deletions
|
|
@ -762,6 +762,10 @@ server_finish(struct server *server)
|
|||
wl_list_remove(&server->new_constraint.link);
|
||||
wl_list_remove(&server->output_power_manager_set_mode.link);
|
||||
wl_list_remove(&server->tearing_new_object.link);
|
||||
if (server->drm_lease_request.notify) {
|
||||
wl_list_remove(&server->drm_lease_request.link);
|
||||
server->drm_lease_request.notify = NULL;
|
||||
}
|
||||
|
||||
wlr_backend_destroy(server->backend);
|
||||
wlr_allocator_destroy(server->allocator);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue