Repository navigation
fix(startup): single-instance ordering, shared crash filter, blanker exit (batch 5) - #407
Merged
Merged
Conversation
The branch is main plus exactly the combined test build's state after this PR (conflicts with the PRs merged before it resolved as tested), version 0.24.12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011zPmivSAQeivGUdBjTsaMu
Maxaubert
force-pushed
the
fix/405-startup-shutdown-order
branch
from
October 10, 2026 02:23
8f21f23 to
ec978f1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #405.
Fixed
wind::CursorCrashFilter(mag_host.cpp) replaces the duplicates in main.cpp and render_engine.cpp.AcquireSingleInstanceas soon as the mutex is owned; a null mutex now refuses to start.RestoreInputStateusesMagApiAcquire/Releaseinstead of rawMagInitialize/MagUninitialize.~CursorBlankerwaits at most 2 s for its worker, then detaches (queue state is shared, as inFocusLookup).ShellExecuteExW, so it no longer inherits UIAccess.Skipped
Tests
build.bat test:[doctest] test cases: 598 | 598 passed | 0 failed | 0 skippedbuild.bat: exit 0No version bump: bumped at merge time.
🤖 Generated with Claude Code
https://claude.ai/code/session_011zPmivSAQeivGUdBjTsaMu