mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 09:26:34 +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:
@@ -116,6 +116,7 @@ static void kill_conference_window(ToxWindow *self)
|
||||
free(ctx->log);
|
||||
free(ctx);
|
||||
free(self->help);
|
||||
kill_notifs(self->active_box);
|
||||
del_window(self);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user