Skip to content

Commit ab1db82

Browse files
committed
fixup! events: extract addAbortListener for safe internal use
1 parent eb934cc commit ab1db82

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/internal/events/abort_listener.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
'use strict';
22

3+
const {
4+
SymbolDispose,
5+
} = primordials;
36
const {
47
validateAbortSignal,
58
validateFunction,
@@ -9,7 +12,6 @@ const {
912
ERR_INVALID_ARG_TYPE,
1013
},
1114
} = require('internal/errors');
12-
const { SymbolDispose } = primordials;
1315

1416
let queueMicrotask;
1517
let kResistStopPropagation;

0 commit comments

Comments
 (0)