diff --git a/src/node.cc b/src/node.cc index 4e3638b886fcb8..149d287950795f 100644 --- a/src/node.cc +++ b/src/node.cc @@ -4421,7 +4421,7 @@ inline int Start(uv_loop_t* event_loop, isolate->AddMessageListener(OnMessage); isolate->SetAbortOnUncaughtExceptionCallback(ShouldAbortOnUncaughtException); - isolate->SetAutorunMicrotasks(false); + isolate->SetMicrotasksPolicy(v8::MicrotasksPolicy::kExplicit); isolate->SetFatalErrorHandler(OnFatalError); {