Skip to content

Improve AppKit NSEvent observation handling#5

Merged
iby merged 1 commit intomainfrom
chore/appkit
Mar 18, 2026
Merged

Improve AppKit NSEvent observation handling#5
iby merged 1 commit intomainfrom
chore/appkit

Conversation

@iby
Copy link
Member

@iby iby commented Mar 18, 2026

  • Prevent recursive activation and deactivation from leaving stale monitors behind.
  • Keep observer state and installed monitors consistent after reentrant and concurrent transitions.
  • Add focused tests proving correct activate and deactivate counts, callback behavior while deactivated, deinit cleanup, and reentrancy stability.

- Prevent recursive activation and deactivation from leaving stale monitors behind.
- Keep observer state and installed monitors consistent after reentrant and concurrent transitions.
- Add focused tests proving correct activate and deactivate counts, callback behavior while deactivated, deinit cleanup, and reentrancy stability.
@iby iby merged commit 48ffa1a into main Mar 18, 2026
2 checks passed
@iby iby deleted the chore/appkit branch March 18, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant