Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Unity-Technologies/bdwgc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Peterson <joshuap@unity3d.com>2019-12-03 17:09:24 +0300
committerJosh Peterson <joshuap@unity3d.com>2019-12-03 17:09:24 +0300
commitbd52a1adcb64ac333dbbedeb13d80eed2a24aa98 (patch)
tree105c4c026d4a63f74df4460746943fb2c69f08d0
parent262b828243c203cc41b6408e21ba35056ce35466 (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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/misc.c b/misc.c
index 1bd3e7f9..e59d78d0 100644
--- a/misc.c
+++ b/misc.c
@@ -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();