mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
This prevents concurrent access to the same state from different worker threads. We needed to treat windowState specially because we explicitly want it to last beyond the life-span of a single context. So we store it as a static variable in `native.mm` and synchronize access with a static `NSLock`. Good enough for now.
664 B
664 B