Skip to content
Permalink
Browse files

src: perform check before running in runMicrotasks()

This is a continuation of #29434,
rewriting the last remaining call to RunMicrotasks.

PR-URL: #29581
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information...
nornagon authored and Trott committed Sep 16, 2019
1 parent d398b8f commit 4ef3ccbbe09d2f0cde8da078f9d2543332b152d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 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) {

0 comments on commit 4ef3ccb

Please sign in to comment.
You can’t perform that action at this time.