fix macos crash

This commit is contained in:
Zhao Yuhang 2023-12-17 18:01:49 +08:00
parent 585a82fbe8
commit 6b6b54d5b5
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ public:
{
instances.remove(nswindow);
if (instances.count() <= 0) {
restoreImplementations();
windowClass = nil;
}
nswindow = nil;