1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-02 17:56:45 +02: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:
jfreegman
2020-11-10 17:20:40 -05:00
parent 16bcb27ca7
commit 752fc6d619
4 changed files with 41 additions and 6 deletions

View File

@ -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);
}