mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-01 20:03:51 -04:00
- 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>