Skip to content

Commit c2b464b

Browse files
committed
lib: improve transferable abort controller exec
1 parent 4ac6cd8 commit c2b464b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/abort_controller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ class AbortController {
334334

335335
static [kMakeTransferable]() {
336336
const controller = new AbortController();
337-
controller.#signal = transferableAbortSignal(controller.#signal);
337+
controller.#signal = createAbortSignal({ transferable: true });
338338
return controller;
339339
}
340340
}

0 commit comments

Comments
 (0)