mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
merge dev-win
This commit is contained in:
parent
b80b0837ab
commit
da0fb1e53f
3 changed files with 42 additions and 32 deletions
|
@ -230,7 +230,7 @@ static bool _mi_heap_done(void) {
|
|||
heap = heap->tld->heap_backing;
|
||||
if (!mi_heap_is_initialized(heap)) return false;
|
||||
|
||||
// collect if not the main thread
|
||||
// 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