Index: sources/canbus/MessageAcknowModel.cpp =================================================================== diff -u -rcc1e9d6d55c816f3fcd626dc6948cca24da283b3 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/canbus/MessageAcknowModel.cpp (.../MessageAcknowModel.cpp) (revision cc1e9d6d55c816f3fcd626dc6948cca24da283b3) +++ sources/canbus/MessageAcknowModel.cpp (.../MessageAcknowModel.cpp) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * - * \file MessageAcknowModel.cpp - * \author (last) Behrouz NematiPour - * \date (last) 26-Aug-2020 - * \author (original) Behrouz NematiPour - * \date (original) 26-Aug-2020 + * \file MessageAcknowModel.cpp + * \author (last) Behrouz NematiPour + * \date (last) 18-Apr-2022 + * \author (original) Behrouz NematiPour + * \date (original) 26-Aug-2020 * */ #include "MessageAcknowModel.h" @@ -44,6 +44,7 @@ // runs in MessageAcknowModel thread initConnections(); + LOG_DEBUG(tr("%1 Initialized").arg(metaObject()->className())); return true; } @@ -70,11 +71,12 @@ */ void MessageAcknowModel::quit() { - // coco begin validated: Application termination is not correctly done in coco!!! + qDeleteAll(_acknowList); + // disabled coco begin validated: Application termination is not correctly done in coco!!! // it has been tested and works perfectly fine in normal run. quitThread(); // validated } -// coco end +// disabled coco end /*! * \brief MessageAcknowModel::initConnections @@ -109,20 +111,20 @@ /*! * \brief MessageAcknowModel::quitThread - * \details Moves this object to main thread to be handled by QApplicaiton + * \details Moves this object to main thread to be handled by QApplication * And to be destroyed there. */ void MessageAcknowModel::quitThread() { - // coco begin validated: Application termination is not correctly done in coco!!! + // disabled coco begin validated: Application termination is not correctly done in coco!!! // it has been tested and works perfectly fine in normal run. if ( ! _thread ) return; // runs in thread moveToThread(qApp->thread()); // validated } -// coco end +// disabled coco end /*! * \brief MessageAcknowModel::onAcknowTransmit