Merge pull request #2820 from kumpera/license-change-rebased
[mono.git] / mono / metadata / sgen-mono.c
index 2f0e4163daf3b3fbe1ffc079309b25d8939f8f72..2956d95420a1460145c6ab4a3c8e688ef5ce00f4 100644 (file)
@@ -26,6 +26,7 @@
 #include "metadata/handle.h"
 #include "utils/mono-memory-model.h"
 #include "utils/mono-logger-internals.h"
+#include "sgen/sgen-thread-pool.h"
 
 #ifdef HEAVY_STATISTICS
 static guint64 stat_wbarrier_set_arrayref = 0;
@@ -2967,6 +2968,7 @@ mono_gc_base_init (void)
 void
 mono_gc_base_cleanup (void)
 {
+       sgen_thread_pool_shutdown ();
 }
 
 gboolean