mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 17:57:51 +00:00
Better fix for a crash on quit.
This commit is contained in:
@@ -265,7 +265,9 @@ void LayerWidget::closeHook() {
|
||||
}
|
||||
|
||||
LayerWidget::~LayerWidget() {
|
||||
restoreFloatPlayerDelegate();
|
||||
if (!App::quitting()) {
|
||||
restoreFloatPlayerDelegate();
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Info
|
||||
|
||||
Reference in New Issue
Block a user