Skip to content

Commit

Permalink
lib: improve transferable abort controller exec
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Nov 19, 2022
1 parent 4ac6cd8 commit c2b464b
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 c2b464b

Please sign in to comment.