Change-Id: I6f2457fe8fb4b3bffe45309a091fae2d2a014015
#ifdef LOG_RECORDER_ENABLED
Ecore_Timer* mPeriodicLogRecorderResetTimer{nullptr};
#endif // LOG_RECORDER_ENABLED
+
+ bool mInitialized{false};
};
} // wakeup
CWakeupManager::~CWakeupManager()
{
MWR_LOGI("Wakeup Manager is now being destroyed");
+ if (mInitialized) {
+ deinitialize();
+ }
}
void CWakeupManager::initialize_wakeup_policy()
initialize_wakeup_policy();
start_periodic_monitor_timer();
+ mInitialized = true;
+
MWR_LOGD("[END]");
return true;
}
mWakeupSettings.deinitialize();
mAssistantLanguageInfo.clear();
+ mInitialized = false;
+
MWR_LOGE("[END]");
return true;
}