mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -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
|
|
@ -469,6 +469,8 @@ destroy_workspace(struct workspace *workspace)
|
|||
wlr_scene_node_destroy(&workspace->tree->node);
|
||||
zfree(workspace->name);
|
||||
wl_list_remove(&workspace->link);
|
||||
wl_list_remove(&workspace->on_cosmic.activate.link);
|
||||
wl_list_remove(&workspace->on_ext.activate.link);
|
||||
|
||||
lab_cosmic_workspace_destroy(workspace->cosmic_workspace);
|
||||
lab_ext_workspace_destroy(workspace->ext_workspace);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue