@ -99,10 +99,11 @@ Core::~Core()
toxTimer->stop();
coreThread->exit(0);
while (coreThread->isRunning())
{
qApp->processEvents();
coreThread->wait();
coreThread->wait(500);
if (coreThread->isRunning())
}
coreThread->terminate();
if (tox)