Merge pull request #2225 from PhenomRetroShare/Fix_MainWindowDestructorDeleteOrder

Fix MainWindow Destructor delete order.
This commit is contained in:
defnax 2021-01-16 11:19:22 +01:00 committed by GitHub
commit ac7482baed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -376,8 +376,8 @@ MainWindow::~MainWindow()
delete toasterDisable;
delete sysTrayStatus;
delete trayIcon;
delete notifyMenu;//notifyMenu belongs to trayMenu
delete trayMenu;
delete notifyMenu;
#ifdef MESSENGER_WINDOW
MessengerWindow::releaseInstance();
#endif