diff options
author | Michaël Zasso <targos@protonmail.com> | 2019-11-30 14:20:48 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-12-04 08:50:25 +0100 |
commit | b9cacfc999c005b5aeefc1d0ba0f0ae1651686b1 (patch) | |
tree | 098ae2d881e98ba72b076906270971d2f66e462e /lib | |
parent | d2d5c970158d01a4da8e644da3202a2666414d91 (diff) | |
download | android-node-v8-b9cacfc999c005b5aeefc1d0ba0f0ae1651686b1.tar.gz android-node-v8-b9cacfc999c005b5aeefc1d0ba0f0ae1651686b1.tar.bz2 android-node-v8-b9cacfc999c005b5aeefc1d0ba0f0ae1651686b1.zip |
inspector: do not access queueMicrotask from global
Grab it from the internal module where it's defined instead.
PR-URL: https://github.com/nodejs/node/pull/30732
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/inspector.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/inspector.js b/lib/inspector.js index 1075009383..b2bad040ce 100644 --- a/lib/inspector.js +++ b/lib/inspector.js @@ -22,6 +22,7 @@ if (!hasInspector) throw new ERR_INSPECTOR_NOT_AVAILABLE(); const EventEmitter = require('events'); +const { queueMicrotask } = require('internal/process/task_queues'); const { validateString } = require('internal/validators'); const { isMainThread } = require('worker_threads'); |