mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
swaybar: prevent signal handler from firing during termination
This prevents a heap-use-after-free crash when sway terminates.
This commit is contained in:
parent
96de2b539c
commit
5484f308b9
3 changed files with 10 additions and 12 deletions
|
|
@ -46,6 +46,8 @@ struct swaybar {
|
|||
#if HAVE_TRAY
|
||||
struct swaybar_tray *tray;
|
||||
#endif
|
||||
|
||||
bool running;
|
||||
};
|
||||
|
||||
struct swaybar_output {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue