mirror of
https://github.com/swaywm/sway.git
synced 2026-04-15 08:21:37 -04:00
Clean up status line on exit
This commit is contained in:
parent
0d0ab7c5ce
commit
0464a9910d
2 changed files with 9 additions and 2 deletions
|
|
@ -191,4 +191,9 @@ void bar_teardown(struct swaybar *bar) {
|
|||
if (bar->config) {
|
||||
free_config(bar->config);
|
||||
}
|
||||
close(bar->ipc_event_socketfd);
|
||||
close(bar->ipc_socketfd);
|
||||
if (bar->status) {
|
||||
status_line_free(bar->status);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue