From dce0034561888be1939987e3bdbd9875167204f0 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 21 Aug 2017 10:28:53 +0200 Subject: [PATCH] fix(App): reset internal variables to nullptr when app is restarted (avoid crash and invalid read) --- src/app/App.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/App.cpp b/src/app/App.cpp index 200b4ca1c..b2e06d52f 100644 --- a/src/app/App.cpp +++ b/src/app/App.cpp @@ -150,6 +150,9 @@ void App::initContentApp () { mCallsWindow = nullptr; mSettingsWindow = nullptr; + mNotifier = nullptr; + mColors = nullptr; + mSystemTrayIcon = nullptr; CoreManager::uninit();