Skip to content

Commit 7477d0c

Browse files
committed
Update the PR
1 parent b957376 commit 7477d0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/js/40_process.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ class ChildProcess {
299299
try {
300300
const onAbort = () => this.kill("SIGTERM");
301301
signal?.[abortSignal.add](onAbort);
302-
} catch (TypeError) {
303-
throw new TypeError("Child process has already terminated");
302+
} catch (e) {
303+
void e;
304304
}
305305

306306
const waitPromise = op_spawn_wait(this.#rid);

0 commit comments

Comments
 (0)