Skip to content

Commit

Permalink
SIGKILL when output stream error occurs to ensure the process is killed
Browse files Browse the repository at this point in the history
  • Loading branch information
rhodgkins committed Apr 22, 2017
1 parent b78841e commit 5a79f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ module.exports = function(proto) {
var reportingErr = new Error('Output stream error: ' + err.message);
reportingErr.outputStreamError = err;
emitEnd(reportingErr, stdoutRing.get(), stderrRing.get());
ffmpegProc.kill();
ffmpegProc.kill('SIGKILL');
});
}

Expand Down

0 comments on commit 5a79f00

Please sign in to comment.