Skip to content

Fix #265 PostQuitMessage when WM_DESTROY in Win#681

Closed
usagi wants to merge 1 commit intolinebender:masterfrom
usagi:Fix-#265-post-quit-when-window-destroy-in-windows
Closed

Fix #265 PostQuitMessage when WM_DESTROY in Win#681
usagi wants to merge 1 commit intolinebender:masterfrom
usagi:Fix-#265-post-quit-when-window-destroy-in-windows

Conversation

@usagi
Copy link

@usagi usagi commented Mar 17, 2020

Fix to exit the loop normally when the window is closed in Windows.
Related: #265 ( and #674, #438, #395, #362 )

Copy link
Contributor

@raphlinus raphlinus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will quit when any window is closed, even if there are more than one open. A more subtle approach is needed, but thanks for trying to fix it.

@usagi
Copy link
Author

usagi commented Mar 17, 2020

Thanks for your review. Okay, I close it just now.

@usagi usagi closed this Mar 17, 2020
@cmyr
Copy link
Member

cmyr commented Mar 17, 2020

The correct fix is linked in one of the other issues I think? or grep win_handler.rs for windows or shutdown or close, there's a TODO or a FIXME in there somewhere!

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.

3 participants