mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
Terminate children when freeing output container
This commit is contained in:
parent
ede27eabc5
commit
90ff36cab8
3 changed files with 18 additions and 8 deletions
|
|
@ -61,8 +61,12 @@ static void free_swayc(swayc_t *cont) {
|
|||
free(cont->app_id);
|
||||
}
|
||||
if (cont->bar_pids) {
|
||||
terminate_swaybars(cont->bar_pids);
|
||||
free_flat_list(cont->bar_pids);
|
||||
}
|
||||
if (cont->bg_pid != 0) {
|
||||
terminate_swaybg(cont->bg_pid);
|
||||
}
|
||||
free(cont);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue