Index: sources/canbus/messageacknowmodel.cpp =================================================================== diff -u -r805119c460b4a266d6401c8705f4427e7fbe270f -reea63d68fc0fb269f8dec64d99f488bcad117220 --- sources/canbus/messageacknowmodel.cpp (.../messageacknowmodel.cpp) (revision 805119c460b4a266d6401c8705f4427e7fbe270f) +++ sources/canbus/messageacknowmodel.cpp (.../messageacknowmodel.cpp) (revision eea63d68fc0fb269f8dec64d99f488bcad117220) @@ -72,7 +72,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 @@ -103,7 +103,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); } @@ -120,7 +120,7 @@ if ( ! _thread ) return; // runs in thread - moveToThread(qApp->thread()); + moveToThread(qApp->thread()); // validated } // coco end