Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
fix macos crash
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Dec 17, 2023
1 parent 585a82f commit 6b6b54d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/utils_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ explicit NSWindowProxy(QWindow *qtWindow, NSWindow *macWindow, QObject *parent =
{
instances.remove(nswindow);
if (instances.count() <= 0) {
restoreImplementations();
windowClass = nil;
}
nswindow = nil;
Expand Down

0 comments on commit 6b6b54d

Please sign in to comment.