mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix wrong assert
This commit is contained in:
parent
89e9b18cf3
commit
7513725a3d
|
@ -233,7 +233,7 @@ void Core::cancelCall(int32_t callId, uint32_t friendId)
|
|||
|
||||
void Core::cleanupCall(int32_t callId)
|
||||
{
|
||||
assert(!calls[callId].active);
|
||||
assert(calls[callId].active);
|
||||
qDebug() << QString("cleaning up call %1").arg(callId);
|
||||
calls[callId].active = false;
|
||||
disconnect(calls[callId].sendAudioTimer,0,0,0);
|
||||
|
|
Loading…
Reference in New Issue
Block a user