Merge pull request #5206 from alexrp/profiler-gc-base-init
authorAlex Rønne Petersen <alex@alexrp.com>
Mon, 17 Jul 2017 17:25:17 +0000 (19:25 +0200)
committerGitHub <noreply@github.com>
Mon, 17 Jul 2017 17:25:17 +0000 (19:25 +0200)
[profiler] Don't call mono_gc_base_init () before loading profilers.

mono/metadata/profiler.c

index 4197bef450d1334482e9bf8596b0c47018cea527..536749ce254f7308a64cc12ca4534380e47284a7 100644 (file)
@@ -126,8 +126,6 @@ load_profiler_from_installation (const char *libname, const char *desc)
 void
 mono_profiler_load (const char *desc)
 {
-       mono_gc_base_init ();
-
        if (!desc || !strcmp ("default", desc))
                desc = "log:report";