mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix possible crash in ResolveWindowDefault.
This commit is contained in:
@@ -37,6 +37,8 @@ ResolveWindow ResolveWindowDefault() {
|
||||
return b;
|
||||
} else if (const auto c = check(app.windowFor(account))) {
|
||||
return c;
|
||||
} else if (Core::Quitting()) {
|
||||
return nullptr;
|
||||
} else if (const auto d = check(app.ensureSeparateWindowFor(
|
||||
account))) {
|
||||
return d;
|
||||
|
||||
Reference in New Issue
Block a user