merge 3b567b1 to track pages statistics correctly

This commit is contained in:
Daan 2025-05-21 15:20:06 -07:00
parent 6c2cfd7830
commit ed474ce525

View file

@ -130,7 +130,7 @@ static void mi_heap_collect_ex(mi_heap_t* heap, mi_collect_t collect)
_mi_arenas_collect(collect == MI_FORCE /* force purge? */, collect >= MI_FORCE /* visit all? */, heap->tld);
// merge statistics
_mi_stats_merge_thread(heap->tld);
if (collect <= MI_FORCE) { _mi_stats_merge_thread(heap->tld); }
}
void _mi_heap_collect_abandon(mi_heap_t* heap) {