You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can trigger this in headless CI running under a gitlab-runner as a service. It doesn't happen to me interactively.
The state machine is stuck in HandlingMainEvents - it never receives WM_PAINT, so never enters HandlingRedrawEvents, so never enters Idle, so runner.handling_events() remains true here and we never exit:
The text was updated successfully, but these errors were encountered:
lunixbochs
changed the title
winit can't exit the event loop on Windows if never receives a WM_PAINT message
can't exit the event loop on Windows if winit never receives a WM_PAINT message
Feb 25, 2023
I can trigger this in headless CI running under a gitlab-runner as a service. It doesn't happen to me interactively.
The state machine is stuck in
HandlingMainEvents
- it never receives WM_PAINT, so never entersHandlingRedrawEvents
, so never entersIdle
, sorunner.handling_events()
remains true here and we never exit:https://github.com/rust-windowing/winit/blob/37c0f61/src/platform_impl/windows/event_loop.rs#L290-L294
The text was updated successfully, but these errors were encountered: