diff --git a/mono/metadata/loader.c b/mono/metadata/loader.c index 8c7a8b7b9235629c4a135c4c9ed6bd8c5faa2a74..3b4f31f6bebf60f9691e182fc1584d1cc7973d05 100644 --- a/mono/metadata/loader.c +++ b/mono/metadata/loader.c @@ -1976,10 +1976,6 @@ mono_free_method (MonoMethod *method) { MONO_PROFILER_RAISE (method_free, (method)); - /* FIXME: This hack will go away when the profiler will support freeing methods */ - if (G_UNLIKELY (mono_profiler_installed ())) - return; - if (method->signature) { /* * FIXME: This causes crashes because the types inside signatures and