mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-15 04:46:36 +01:00
Fix race condition when window is closed with active notifications
A ToxWindow's notifications need to be halted before the window is freed
This commit is contained in:
@@ -152,6 +152,7 @@ void kill_chat_window(ToxWindow *self, Tox *m)
|
||||
free(statusbar);
|
||||
|
||||
disable_chatwin(self->num);
|
||||
kill_notifs(self->active_box);
|
||||
del_window(self);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user