mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
fix: do not run microtasks in V8Serializer in browser process (#46668)
This commit is contained in:
@@ -36,7 +36,7 @@ class V8Serializer : public v8::ValueSerializer::Delegate {
|
||||
|
||||
bool Serialize(v8::Local<v8::Value> value, blink::CloneableMessage* out) {
|
||||
gin_helper::MicrotasksScope microtasks_scope{
|
||||
isolate_->GetCurrentContext(), false,
|
||||
isolate_->GetCurrentContext(), true,
|
||||
v8::MicrotasksScope::kDoNotRunMicrotasks};
|
||||
WriteBlinkEnvelope(19);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user