Fix MainWindow Destructor delete order.

This commit is contained in:
Phenom 2021-01-15 11:48:20 +01:00
parent 7f5f03bcda
commit a86f409298

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