Merge pull request #65 from Stremio/claude/fix/server-kill-child-on-respawn
Some checks failed
Continuous integration / test (push) Has been cancelled

Fix stremio-runtime child reaping
This commit is contained in:
Timothy Z. 2026-05-18 11:32:26 +02:00 committed by GitHub
commit 140ca5272a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -178,6 +178,9 @@ impl StremioServer {
}); });
out_thread.join().ok(); out_thread.join().ok();
err_thread.join().ok(); err_thread.join().ok();
// Drop on Windows neither kills nor waits, so reap explicitly.
child.kill().ok();
child.wait().ok();
} }
Err(err) => { Err(err) => {
nwg::error_message( nwg::error_message(