mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Assert that we don't kill tox before killing toxav.
Possibly this is what's happening in #1149.
This commit is contained in:
parent
33c2f5138f
commit
9f1757e3a5
|
@ -530,6 +530,7 @@ void tox_kill(Tox *tox)
|
|||
}
|
||||
|
||||
Messenger *m = tox->m;
|
||||
assert(m->msi_packet == nullptr && "Attempted to kill tox while toxav is still alive");
|
||||
kill_groupchats(m->conferences_object);
|
||||
kill_messenger(m);
|
||||
mono_time_free(tox->mono_time);
|
||||
|
|
Loading…
Reference in New Issue
Block a user