Browse Source
- Add proper ocrExecutor lifecycle management in ScreenCaptureService.onDestroy() - Use awaitTermination() with 5-second timeout before forcing shutdownNow() - Handle InterruptedException with proper thread interrupt restoration - Verified temporary executors in YOLOOnnxDetector already have proper cleanup - Prevents thread pool resource leaks and ensures clean service shutdown 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>critical-004-thread-pool-leaks
1 changed files with 11 additions and 0 deletions
Loading…
Reference in new issue