mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-05-13 18:30:47 +00:00
fix: kill and wait stremio-runtime child after readers finish
Some checks failed
Continuous integration / test (push) Has been cancelled
Some checks failed
Continuous integration / test (push) Has been cancelled
This commit is contained in:
parent
677f7b6eff
commit
d0575ead00
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