Index: sources/canbus/messagedispatcher.cpp =================================================================== diff -u -r057d3ef4e29c63235040c5cfe8c6421ef7787d6a -reea63d68fc0fb269f8dec64d99f488bcad117220 --- sources/canbus/messagedispatcher.cpp (.../messagedispatcher.cpp) (revision 057d3ef4e29c63235040c5cfe8c6421ef7787d6a) +++ sources/canbus/messagedispatcher.cpp (.../messagedispatcher.cpp) (revision eea63d68fc0fb269f8dec64d99f488bcad117220) @@ -76,7 +76,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 @@ -121,7 +121,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); } @@ -138,7 +138,7 @@ if ( ! _thread ) return; // runs in thread - moveToThread(qApp->thread()); + moveToThread(qApp->thread()); // validated } // coco end @@ -192,10 +192,12 @@ void MessageDispatcher::onFailedTransmit(Sequence vSequence) { + // coco begin validated: Is a placeholder and has not beed implemented yet Q_UNUSED(vSequence) // may requires showing an alarm screen // but we don't know yet. } +// coco end /*! * \brief MessageDispatcher::onActionTransmit