Open PJB3005 opened 5 days ago
Any idea how we'd go about checking that?
Alright, I figured out a way to check it, hope this is sufficient.
I would rather use a better way to detect if we are on the main thread, if possible. I've opened #4006 for this. Let me know if it works.
The check on Windows to enforce that the event loop is created from the main thread is not fully reliable (https://github.com/rust-windowing/winit/issues/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:
Fixes #3999
changelog
module if knowledge of this change could be valuable to users