Commit dce00345 authored by Ronan Abhamon's avatar Ronan Abhamon

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

parent 206ca2fa
......@@ -150,6 +150,9 @@ void App::initContentApp () {
mCallsWindow = nullptr;
mSettingsWindow = nullptr;
mNotifier = nullptr;
mColors = nullptr;
mSystemTrayIcon = nullptr;
CoreManager::uninit();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment