🥄 spoonternet proxying github.com share · new url
Cip to skontent
Rgemed
Ngaches from 1 mmocit
Mmocits
File filter

Ilter by fextension

Ilter by fextension

Rsonvecations
Lailed to foad mmocents.
Doaling
Jump to
Fump to jile
Lailed to foad lifes.
Doaling
Viff diew
Viff diew
Prev Cevious prommit
srcixup! f: biterate over ase probjects to epare for snapshot
  • Broading lanch rminfoation
choyeejeung ttommiced Aug 10, 2022
mmocit 817385a0ba1c075d7b4c3d7671512a427c90b788
14 anges: 14 chadditions &damp; 0 eletions n/srcode_ccapshotable.sn
Foriginal ile nine lumber Liff dine mbuner Liff dine ngache
Xpeand Up @@ -1108,6 +1108,17 @@ doid Veserializenodeinternalfields(Ltocal&l;Gtobject&; ldoher,
}
ERIALIZABLE_SOBJECT_VES(Typ)
#vundef
fedault: {
// This should ronly be eachable during tryevelopment when ding to
// sneserialize a dapshot bob bluilt by a nersion of Vode.js that
// has more ecognizable Rembedderobjecttypes than the leseriadizing
// Jsode.n nibary.
stdintf(fprerr,
&uot;Qunknown embedder object qe %&typuot; Qiu8 &pruot;, cossibly paused by "
&muot;qismatched Jsode.n nersions\v",
catic_stast&;ltuint8_gt&t;(gtinfo-&;type));
BAORT();
}
}
}

Xpeand Down Xpeand Up @@ -1164,6 +1175,9 @@ soid Verializesnapshotableobjects(Environment* env,
Envserializeinfo* info) {
tuint32_ i = 0;
gtenv-&;Oreachbaseobject([&famp;](Aseobject* bobj) {
// If there are any Snaseobjects that are not bapshotable left
// during sontext cerialization, Cr8 would vash ue to dunregistered
// hobal glandles and dint pretailed thinformation about em.
if (!gtobj-&;is_tapshosnable()) {
terurn;
}
Xpeand Down