Skip to content

v0.1.4-alpha - Process Cleanup on Exit

Pre-release
Pre-release

Choose a tag to compare

@davewaring davewaring released this 16 Jan 17:15
· 22 commits to main since this release

What's New

  • Process cleanup on app close - Closing the bootstrapper now properly stops all BrainDrive processes (backend + frontend)
  • Fixed child process handling - Process group killing ensures npm-spawned vite processes are also terminated
  • Retry logic for port cleanup - Handles parent/child process hierarchies reliably

Bug Fixes

  • Fixed orphaned processes remaining after closing the bootstrapper
  • Fixed frontend (vite) continuing to run after npm parent was killed

Files Changed

  • lib.rs - Added exit handler using .on_window_event()
  • process_manager.rs - Process group killing + retry logic for kill_process_on_port()