Crash after close "Animation" dialog box with saving pictures, speed 99 and fit all
* There is no chance for the thread to cleanup after itself,
* unlock any held mutexes, etc. In short, use this function only if absolutely necessary.
*/
- QThread::terminate();
+ myDumpPath = "";
QThread::wait(100);
+ QThread::terminate();
+ QThread::wait(400);
}
if (isDumping) {
// We must unlock mutex for some time before grabbing to allow view updating
qApp->unlock();
- msleep(100);
+ msleep(delay);
qApp->lock();
if(!(myFieldsLst[0].myField)) // break, if field was deleted.
break;