fix: gin_helper::MicrotasksScope instantiation (#43185)
This commit is contained in:
parent
e64302cc91
commit
6877671390
12 changed files with 55 additions and 44 deletions
|
@ -285,7 +285,7 @@ void ErrorMessageListener(v8::Local<v8::Message> message,
|
|||
node::Environment* env = node::Environment::GetCurrent(isolate);
|
||||
if (env) {
|
||||
gin_helper::MicrotasksScope microtasks_scope(
|
||||
isolate, env->context()->GetMicrotaskQueue(),
|
||||
isolate, env->context()->GetMicrotaskQueue(), false,
|
||||
v8::MicrotasksScope::kDoNotRunMicrotasks);
|
||||
// Emit the after() hooks now that the exception has been handled.
|
||||
// Analogous to node/lib/internal/process/execution.js#L176-L180
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue