diff options
author | Josh Peterson <joshuap@unity3d.com> | 2019-12-03 17:09:24 +0300 |
---|---|---|
committer | Josh Peterson <joshuap@unity3d.com> | 2019-12-03 17:09:24 +0300 |
commit | bd52a1adcb64ac333dbbedeb13d80eed2a24aa98 (patch) | |
tree | 105c4c026d4a63f74df4460746943fb2c69f08d0 | |
parent | 262b828243c203cc41b6408e21ba35056ce35466 (diff) |
Remove code that attempt to free the heap on Windows
This causes problems in Unity for the UWP player when it unloads IL2CPP.
It looks like it was never actually necessary on Windows desktop either,
so let's remove it.
-rw-r--r-- | misc.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1432,9 +1432,6 @@ GC_API void GC_CALL GC_enable_incremental(void) # endif GC_clear_exclusion_table(); memset(&GC_arrays, 0, sizeof(GC_arrays)); -# if (defined(MSWIN32) || defined(MSWINCE)) && !defined(MSWIN_XBOX1) - GC_win32_free_heap(); -# endif GC_clear_freelist(); GC_clear_bottom_indices(); GC_clear_finalizable_object_table(); |