Files
Mujoco_WASM/python/mujoco
Kevin Zakka 327f05a567 Fix macOS crash on viewer close (NSScreen main-thread assertion)
Hiding the dock icon after the viewer window closes triggers an
asynchronous screen/dock reconfiguration via SkyLight. Without
draining the main run loop, the resulting NSScreen invalidation
notification is dispatched to a GCD worker thread, which hits
NSScreen's main-thread assertion and crashes the process.

Drain the main NSRunLoop briefly after setActivationPolicy: so the
reconfiguration is processed on the main thread.
2026-03-02 12:48:38 -08:00
..
2024-11-19 14:07:21 -08:00
2022-05-25 07:01:59 -07:00
2026-01-29 10:04:43 -08:00
2022-05-23 01:08:49 -07:00
2023-10-13 16:13:24 -07:00
2024-10-24 08:31:15 -07:00
2025-02-21 08:44:17 -05:00
2025-02-21 08:44:17 -05:00
2024-12-16 09:57:08 -08:00
2024-12-16 09:57:08 -08:00