mirror of
https://github.com/atom/atom.git
synced 2026-02-05 04:05:05 -05: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.
654 B
654 B