Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
anonrig authored and ruyadorno committed Nov 24, 2022
1 parent 5745bcb commit 4c9159a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/abort_controller.js
Expand Up @@ -334,7 +334,7 @@ class AbortController {

static [kMakeTransferable]() {
const controller = new AbortController();
controller.#signal = transferableAbortSignal(controller.#signal);
controller.#signal = createAbortSignal({ transferable: true });
return controller;
}
}
Expand Down

0 comments on commit 4c9159a

Please sign in to comment.