mirror of
https://github.com/koush/scrypted.git
synced 2026-03-14 14:22:13 +00:00
common: fix regression with not sending sigterm to ffmpeg
This commit is contained in:
@@ -31,6 +31,7 @@ export async function safeKillFFmpeg(cp: ChildProcess) {
|
||||
catch (e) {
|
||||
}
|
||||
}
|
||||
cp.kill();
|
||||
await sleep(2000);
|
||||
cp.kill('SIGKILL');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user