fix object fwd growth

This commit is contained in:
2026-02-03 02:53:06 -06:00
parent a9804785e0
commit 16c26e4bf2

View File

@@ -1475,6 +1475,9 @@ static int rec_resize (JSContext *ctx, JSValue *pobj, uint64_t new_mask) {
}
}
/* Install forward header at old location so stale references can find the new record */
rec->mist_hdr = objhdr_make_fwd (new_rec);
/* Update caller's JSValue to point to new record */
*pobj = JS_MKPTR (new_rec);