1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Better checks before cleanupCall

This commit is contained in:
tux3 2015-06-06 21:57:09 +02:00
parent d8e9b7d77e
commit 89e9b18cf3
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -431,6 +431,7 @@ void Core::onAvEnd(void* _toxav, int32_t call_index, void* core)
emit static_cast<Core*>(core)->avEnd(friendId, call_index);
if (calls[call_index].active)
cleanupCall(call_index);
}
@ -471,6 +472,7 @@ void Core::onAvRequestTimeout(void* _toxav, int32_t call_index, void* core)
emit static_cast<Core*>(core)->avRequestTimeout(friendId, call_index);
if (calls[call_index].active)
cleanupCall(call_index);
}