fix: do not run microtasks in V8Serializer in browser process (#46683)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org>
This commit is contained in:
trop[bot]
2025-04-19 12:19:09 -05:00
committed by GitHub
parent 92990c0857
commit b543cea4e8

View File

@@ -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);