mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-05-19 16:12:02 +00:00
Merge pull request #65 from Stremio/claude/fix/server-kill-child-on-respawn
Some checks failed
Continuous integration / test (push) Has been cancelled
Some checks failed
Continuous integration / test (push) Has been cancelled
Fix stremio-runtime child reaping
This commit is contained in:
commit
140ca5272a
1 changed files with 3 additions and 0 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue