Fix possible crash in ResolveWindowDefault.

This commit is contained in:
John Preston
2026-04-14 11:22:51 +07:00
parent d6cb8d62af
commit cfa8ecbb2e
@@ -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;