Skip to content

double SIGINT prevention#125

Merged
mcollina merged 1 commit intomainfrom
fix/prevent-double-sigint-shutdown
Oct 31, 2025
Merged

double SIGINT prevention#125
mcollina merged 1 commit intomainfrom
fix/prevent-double-sigint-shutdown

Conversation

@mcollina
Copy link
Copy Markdown
Member

Add test case to verify that multiple SIGINT signals don't cause double shutdown. The test confirms that:

  • Only one shutdown occurs despite multiple signals
  • SIGINT handlers ignore subsequent signals during shutdown
  • All SIGINT listeners are properly cleaned up after shutdown

Related to the fix in lib/start.js that adds an inner SIGINT handler to prevent race conditions during graceful shutdown.

🤖 Generated with Claude Code

Add test case to verify that multiple SIGINT signals don't cause
double shutdown. The test confirms that:
- Only one shutdown occurs despite multiple signals
- SIGINT handlers ignore subsequent signals during shutdown
- All SIGINT listeners are properly cleaned up after shutdown

Related to the fix in lib/start.js that adds an inner SIGINT handler
to prevent race conditions during graceful shutdown.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@mcollina mcollina changed the title test: add test for double SIGINT prevention double SIGINT prevention Oct 31, 2025
@mcollina mcollina merged commit 9fda6e6 into main Oct 31, 2025
1 check passed
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