mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
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:
@@ -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