Skip to content

Commit

Permalink
[mono] Add a comment about freeing caches. (dotnet#51223)
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz authored Apr 14, 2021
1 parent 19caa60 commit 209a9b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mono/mono/metadata/memory-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ memory_manager_delete (MonoMemoryManager *memory_manager, gboolean debug_unload)

mono_coop_mutex_destroy (&memory_manager->lock);

// FIXME: Free generics caches

if (debug_unload) {
mono_mempool_invalidate (memory_manager->_mp);
mono_code_manager_invalidate (memory_manager->code_mp);
Expand Down

0 comments on commit 209a9b1

Please sign in to comment.