Merge pull request #4632 from urbit/jb/meld-right

u3: reallocate hot jet state before gc in meld and cram
This commit is contained in:
Joe Bryan 2021-03-19 19:50:57 -07:00 committed by GitHub
commit f266e8a2f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -401,13 +401,16 @@ _cu_realloc(FILE* fil_u, ur_root_t** tor_u, ur_nvec_t* doc_u)
//
_cu_all_to_loom(rot_u, ken, &cod_u);
// allocate new hot jet state
//
u3j_boot(c3y);
// establish correct refcounts via tracing
//
u3m_grab(u3_none);
// allocate new hot jet state; re-establish warm
// re-establish warm jet state
//
u3j_boot(c3y);
u3j_ream();
// restore event number