mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-19 21:49:32 +03:00
parent
0a77b7423f
commit
119361c270
1 changed files with 3 additions and 0 deletions
|
@ -321,6 +321,9 @@ static void mi_heap_absorb(mi_heap_t* heap, mi_heap_t* from) {
|
|||
}
|
||||
mi_assert_internal(from->pages[MI_BIN_FULL].first == NULL);
|
||||
|
||||
// mark all pages to no longer add to delayed_free
|
||||
mi_heap_visit_pages(from, &mi_heap_page_never_delayed_free, NULL, NULL);
|
||||
|
||||
// free outstanding thread delayed free blocks
|
||||
_mi_heap_delayed_free(from);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue