-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[macOS] Use occlusionState instead of isOnActiveSpace to determine when window is drawable. #83096
Conversation
Is the empty entitlements file meant to be there? |
…en window is drawable.
No, removed. |
This could possibly also fix #81953. The SurfaceTool and mesh creation code might in theory be a red herring and the demo could leak even without it, caused by the issues this PR is fixing. I don't have a Mac, so I can't test it. I couldn't repro the leak on Windows 10. |
This seems to be unrelated:
|
Thanks! |
Reminder this may need a 3.x version / cherry picking to 3.x. |
Fixes #82769
Might fix this one as well, but I can't reproduce the issue - #64708
Bugsquad edit: Closes #64708