Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Windows main thread checks more forgiving
The check on Windows to enforce that the event loop is created from the main thread is not fully reliable (rust-windowing#3999). Given that this check is not necessary on Windows and only exists more as an assert to enforce platform consistency in development, I have made it more lax: * It now produces a tracing::warn!() message instead of an outright panic. * The check is only compiled in with cfg(debug_assertions)
- Loading branch information