bug fixes

This commit is contained in:
daanx 2024-12-01 12:54:16 -08:00
parent 8f2a5864b8
commit 1d7a9f62a5
6 changed files with 34 additions and 32 deletions

View file

@ -396,8 +396,7 @@ void _mi_tld_init(mi_tld_t* tld, mi_heap_t* bheap) {
tld->heap_backing = bheap;
tld->heaps = NULL;
tld->subproc = &mi_subproc_default;
tld->tseq = 0;
mi_atomic_add_acq_rel(&mi_tcount, 1);
tld->tseq = 0; // mi_atomic_add_acq_rel(&mi_tcount, 1);
tld->os.stats = &tld->stats;
}