diff options
Diffstat (limited to 'src/node_task_queue.cc')
-rw-r--r-- | src/node_task_queue.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_task_queue.cc b/src/node_task_queue.cc index b4e8c1de92..3b00cbc600 100644 --- a/src/node_task_queue.cc +++ b/src/node_task_queue.cc @@ -56,7 +56,7 @@ bool RunNextTicksNative(Environment* env) { } static void RunMicrotasks(const FunctionCallbackInfo<Value>& args) { - args.GetIsolate()->RunMicrotasks(); + MicrotasksScope::PerformCheckpoint(args.GetIsolate()); } static void SetTickCallback(const FunctionCallbackInfo<Value>& args) { |