Exemple #1
0
CoreAV::~CoreAV()
{
    for (const auto& call : calls) {
        cancelCall(call.first);
    }
    killTimerFromThread();
    toxav_kill(toxav);
    coreavThread->exit(0);
    while (coreavThread->isRunning()) {
        qApp->processEvents();
        coreavThread->wait(100);
    }
}
Exemple #2
0
CoreAV::~CoreAV()
{
    for (const ToxFriendCall& call : calls)
        cancelCall(call.callId);
    killTimerFromThread();
    toxav_kill(toxav);
    coreavThread->exit(0);
    while (coreavThread->isRunning())
    {
        qApp->processEvents();
        coreavThread->wait(100);
    }
}