Better fix for a crash on quit.

This commit is contained in:
John Preston
2018-11-10 12:06:44 +04:00
parent 4532e59933
commit 48889ce56e
3 changed files with 5 additions and 9 deletions
-1
View File
@@ -904,7 +904,6 @@ void MainWindow::updateIsActiveHook() {
}
MainWindow::~MainWindow() {
ui_hideSettingsAndLayer(anim::type::instant);
if (_clearManager) {
_clearManager->stop();
_clearManager = nullptr;