Index: sources/storage/logger.cpp =================================================================== diff -u -r909090c5bae8b2fcc9aed6c2b55078b4f3d26fdd -reea63d68fc0fb269f8dec64d99f488bcad117220 --- sources/storage/logger.cpp (.../logger.cpp) (revision 909090c5bae8b2fcc9aed6c2b55078b4f3d26fdd) +++ sources/storage/logger.cpp (.../logger.cpp) (revision eea63d68fc0fb269f8dec64d99f488bcad117220) @@ -82,7 +82,7 @@ { // coco begin validated: Application termination is not correctly done in coco!!! // it has been tested and works perfectly fine in normal run. - quitThread(); + quitThread(); // validated } // coco end @@ -122,7 +122,7 @@ _thread = &vThread; _thread->setObjectName(QString("%1_Thread").arg(metaObject()->className())); connect(qApp, SIGNAL(aboutToQuit()), this, SLOT(quit())); - _thread->start(); + if (!_thread->isRunning()) _thread->start(); // In case more than one object using the same thread moveToThread(_thread); } // coco end @@ -138,7 +138,7 @@ if (! _thread) return; // runs in thread - moveToThread(qApp->thread()); + moveToThread(qApp->thread()); // validated } // coco end