mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
Merge branch 'dev-win' into dev-exp
This commit is contained in:
commit
71121a7457
3 changed files with 16 additions and 4 deletions
|
@ -239,7 +239,7 @@ static bool _mi_heap_done(void) {
|
|||
// switch to backing heap and free it
|
||||
heap = heap->tld->heap_backing;
|
||||
if (!mi_heap_is_initialized(heap)) return false;
|
||||
|
||||
|
||||
// collect if not the main thread
|
||||
if (heap != &_mi_heap_main) {
|
||||
_mi_heap_collect_abandon(heap);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue