fix: address PR review feedback - remove duplicate signal handlers and ensure PID cleanup
Addresses code review feedback from PR #489: 1. Moved PID file cleanup into shutdown() method to ensure it's always cleaned up regardless of how shutdown is triggered 2. Removed duplicate signal handlers in main() function that were redundant with the handlers in start() method This eliminates the race condition where both sets of handlers could trigger, and ensures consistent PID file cleanup behavior. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user