Skip to content

fix: remove unguarded exit(0) fallback from quit flow (issue #35)#41

Merged
ShadyUnderLight merged 1 commit intomainfrom
fix/issue35-remove-hard-exit-fallback
Apr 21, 2026
Merged

fix: remove unguarded exit(0) fallback from quit flow (issue #35)#41
ShadyUnderLight merged 1 commit intomainfrom
fix/issue35-remove-hard-exit-fallback

Conversation

@ShadyUnderLight
Copy link
Copy Markdown
Owner

d51db56 added 0.5s + exit(0) without a linked issue, without a comment explaining the failure mode, and without persistent background work in stop() that would prevent terminate from succeeding.

Removed: DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { exit(0) }
Replaced with: comment explaining the decision and under what conditions the fallback may be re-added (specific reproduction + tracking issue).

The 0.5 s + exit(0) fallback was added in d51db56 without a linked issue,
without a comment explaining the failure mode it was guarding against, and
without persistent background work in stop() that would prevent terminate
from succeeding.

Removed: DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { exit(0) }
Replaced with: comment explaining the decision and under what conditions
the fallback may be re-added (specific reproduction + tracking issue).
@ShadyUnderLight ShadyUnderLight merged commit b7279cc into main Apr 21, 2026
2 checks passed
@ShadyUnderLight ShadyUnderLight deleted the fix/issue35-remove-hard-exit-fallback branch April 21, 2026 09:49
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