fix: do not run microtasks in V8Serializer in browser process (#46682)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: clavin <clavin@electronjs.org>
This commit is contained in:
parent
2960f93ea5
commit
e8188ef271
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue