mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: bump node to v12.18.0 (master) (#23789)
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
@@ -30,9 +30,10 @@ void MicrotasksRunner::DidProcessTask(const base::PendingTask& pending_task) {
|
||||
// handle the checkpoint in the browser process.
|
||||
{
|
||||
auto* node_env = electron::ElectronBrowserMainParts::Get()->node_env();
|
||||
v8::HandleScope scope(isolate_);
|
||||
node::InternalCallbackScope microtasks_scope(
|
||||
node_env->env(), v8::Local<v8::Object>(), {0, 0},
|
||||
node::InternalCallbackScope::kAllowEmptyResource);
|
||||
node_env->env(), v8::Object::New(isolate_), {0, 0},
|
||||
node::InternalCallbackScope::kNoFlags);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user