Stop nymea time manager before shutdown the daemon
This commit is contained in:
parent
cb9607498e
commit
512ea502c1
@ -174,7 +174,9 @@ NymeaCore::~NymeaCore()
|
||||
});
|
||||
|
||||
// Disconnect all signals/slots, we're going down now
|
||||
m_timeManager->stopTimer();
|
||||
m_timeManager->disconnect(this);
|
||||
|
||||
m_thingManager->disconnect(this);
|
||||
m_ruleEngine->disconnect(this);
|
||||
|
||||
|
||||
@ -64,7 +64,7 @@ QDateTime TimeManager::currentDateTime() const
|
||||
|
||||
/*! Stop the time.
|
||||
*
|
||||
* \note This method should only be used in tests.
|
||||
* \note This method should only be used in tests and when shutting down the system.
|
||||
*/
|
||||
void TimeManager::stopTimer()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user