diff --git a/src/addon.cpp b/src/addon.cpp index 64c5895..499e68c 100644 --- a/src/addon.cpp +++ b/src/addon.cpp @@ -85,6 +85,9 @@ void Main(Local exports) { /* I guess we store this statically */ isolate = exports->GetIsolate(); + /* We want this */ + isolate->SetMicrotasksPolicy(MicrotasksPolicy::kAuto); + /* Register our own nextTick handlers */ uWS::Loop::defaultLoop()->setPostHandler([](uWS::Loop *) { processNextTickQueueImpl(isolate);