mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-05-13 10:11:42 +00:00
fix: kill and wait stremio-runtime child after readers finish
Some checks are pending
Continuous integration / test (push) Waiting to run
Some checks are pending
Continuous integration / test (push) Waiting to run
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();
|
||||
err_thread.join().ok();
|
||||
// Drop on Windows neither kills nor waits, so reap explicitly.
|
||||
child.kill().ok();
|
||||
child.wait().ok();
|
||||
}
|
||||
Err(err) => {
|
||||
nwg::error_message(
|
||||
|
|
|
|||
Loading…
Reference in a new issue