ue
This commit is contained in:
@@ -53,6 +53,8 @@ export interface FFmpegUtilityProcess {
|
||||
|
||||
log.debugString("Started ffmpeg utility process");
|
||||
|
||||
process.on("uncaughtException", (e, origin) => log.error(origin, e));
|
||||
|
||||
process.parentPort.once("message", (e) => {
|
||||
// Expose an instance of `FFmpegUtilityProcess` on the port we got from our
|
||||
// parent.
|
||||
|
||||
@@ -24,6 +24,8 @@ import { fsStatMtime } from "./fs";
|
||||
|
||||
log.debugString("Started ML utility process");
|
||||
|
||||
process.on("uncaughtException", (e, origin) => log.error(origin, e));
|
||||
|
||||
process.parentPort.once("message", (e) => {
|
||||
// Initialize ourselves with the data we got from our parent.
|
||||
parseInitData(e.data);
|
||||
|
||||
Reference in New Issue
Block a user