Skip to content

Commit

Permalink
common: fix regression with not sending sigterm to ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jan 4, 2024
1 parent 47a981e commit 1078fae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions server/src/media-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export async function safeKillFFmpeg(cp: ChildProcess) {
catch (e) {
}
}
cp.kill();
await sleep(2000);
cp.kill('SIGKILL');
});
Expand Down

0 comments on commit 1078fae

Please sign in to comment.