fix object fwd growth
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user