Skip to content

Investigating closing and hanging#193

Draft
almarklein wants to merge 3 commits intomainfrom
closing
Draft

Investigating closing and hanging#193
almarklein wants to merge 3 commits intomainfrom
closing

Conversation

@almarklein
Copy link
Member

@almarklein almarklein commented Mar 11, 2026

Ref #183 and almarklein/scenex#2

I think it's worth reviewing the current close mechanics and see if they can be better aligned accross backends. E.g. the extra processing events in glfw when the last window is closed feels hacky, and wx does weird stuff too. Maybe the loop task should simply run 0.1s after the last window is closed. And maybe a backend that detects getting closed should notify the loop or something. Also, let's add tests for loads of cases. E.g. running and closing a wx window, programatically vs via button, also when running on an outside loop, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant