Skip to content

Commit 367ac71

Browse files
anonrignodejs-github-bot
authored andcommitted
lib: improve transferable abort controller exec
PR-URL: #45525 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 5fe7003 commit 367ac71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/abort_controller.js

Lines changed: 1 addition & 1 deletion
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)