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:
@@ -265,7 +265,9 @@ void LayerWidget::closeHook() {
|
||||
}
|
||||
|
||||
LayerWidget::~LayerWidget() {
|
||||
restoreFloatPlayerDelegate();
|
||||
if (!App::quitting()) {
|
||||
restoreFloatPlayerDelegate();
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Info
|
||||
|
Reference in New Issue
Block a user