music-assistant / companion

Music Assistant Companion App
https://music-assistant.io/companion-app/
Apache License 2.0
38 stars 5 forks source link

Squeezelite not closing when quiting companion #41

Open zortos293 opened 1 month ago

zortos293 commented 1 month ago

when quiting companion the squeezelite instance stays running so if you had music playing it wont close

so you have to quit using task manager image

zortos293 commented 1 month ago

https://github.com/music-assistant/companion/blob/a5f80e5ce5e7d870868cfb65a25e81de9349e90b/src-tauri/src/lib.rs#L130-L132

arctixdev commented 1 month ago

Hmm interesting, I would have thought that Tauri automatically cleaned up the child processes when running app.exit(1);. I can take a quick look at it