2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

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

View File

@@ -265,7 +265,9 @@ void LayerWidget::closeHook() {
}
LayerWidget::~LayerWidget() {
restoreFloatPlayerDelegate();
if (!App::quitting()) {
restoreFloatPlayerDelegate();
}
}
} // namespace Info