Files
spacedrive/core-new/examples
Jamie Pine 7f4817a607 feat(jobs): Pause running jobs during shutdown
- Update JobManager::shutdown() to pause all running jobs before shutdown
- Add Library::shutdown() method that calls JobManager::shutdown()
- Update LibraryManager to call library.shutdown() when closing
- Add timeout protection (10s) to prevent hanging during shutdown
- Create tests and demo showing shutdown behavior

This ensures that long-running jobs (like indexing) don't lose progress
when Spacedrive shuts down. Jobs are paused with their state saved to
database and will automatically resume on next startup.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 01:49:25 -04:00
..
2025-06-20 04:23:42 -07:00