fix(App): reset internal variables to nullptr when app is restarted (avoid crash and invalid read)

This commit is contained in:
Ronan Abhamon 2017-08-21 10:28:53 +02:00
parent 206ca2faba
commit dce0034561

View file

@ -150,6 +150,9 @@ void App::initContentApp () {
mCallsWindow = nullptr;
mSettingsWindow = nullptr;
mNotifier = nullptr;
mColors = nullptr;
mSystemTrayIcon = nullptr;
CoreManager::uninit();