diff --git a/core.cpp b/core.cpp index e01ca78c6..53530e28a 100644 --- a/core.cpp +++ b/core.cpp @@ -1028,6 +1028,8 @@ void Core::onAvRequestTimeout(int32_t call_index, void* core) } qDebug() << QString("Core: AV request timeout with %1").arg(friendId); + cleanupCall(call_index); + emit static_cast(core)->avRequestTimeout(friendId, call_index); } @@ -1041,6 +1043,8 @@ void Core::onAvPeerTimeout(int32_t call_index, void* core) } qDebug() << QString("Core: AV peer timeout with %1").arg(friendId); + cleanupCall(call_index); + emit static_cast(core)->avPeerTimeout(friendId, call_index); }