mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
fix(App): reset internal variables to nullptr when app is restarted (avoid crash and invalid read)
This commit is contained in:
parent
206ca2faba
commit
dce0034561
1 changed files with 3 additions and 0 deletions
|
|
@ -150,6 +150,9 @@ void App::initContentApp () {
|
|||
|
||||
mCallsWindow = nullptr;
|
||||
mSettingsWindow = nullptr;
|
||||
mNotifier = nullptr;
|
||||
mColors = nullptr;
|
||||
mSystemTrayIcon = nullptr;
|
||||
|
||||
CoreManager::uninit();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue