From ab1db82d1c86089342433343c9f6485f4c46aed6 Mon Sep 17 00:00:00 2001 From: atlowChemi Date: Thu, 14 Mar 2024 11:41:17 +0200 Subject: [PATCH] fixup! events: extract addAbortListener for safe internal use --- lib/internal/events/abort_listener.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/internal/events/abort_listener.js b/lib/internal/events/abort_listener.js index b17113e4a7bef6..79a6b5a27aa0ad 100644 --- a/lib/internal/events/abort_listener.js +++ b/lib/internal/events/abort_listener.js @@ -1,5 +1,8 @@ 'use strict'; +const { + SymbolDispose, +} = primordials; const { validateAbortSignal, validateFunction, @@ -9,7 +12,6 @@ const { ERR_INVALID_ARG_TYPE, }, } = require('internal/errors'); -const { SymbolDispose } = primordials; let queueMicrotask; let kResistStopPropagation;