From f9135a68ac229edc0b1cd9a7b9bc6b49bd65d8fb Mon Sep 17 00:00:00 2001 From: Rasmus Kuusmann Date: Wed, 28 Apr 2021 13:37:41 +0300 Subject: [PATCH] Fix comments --- src/Datadog.Trace.ClrProfiler.Managed/Instrumentation.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Datadog.Trace.ClrProfiler.Managed/Instrumentation.cs b/src/Datadog.Trace.ClrProfiler.Managed/Instrumentation.cs index b81df00031..a93796a38d 100644 --- a/src/Datadog.Trace.ClrProfiler.Managed/Instrumentation.cs +++ b/src/Datadog.Trace.ClrProfiler.Managed/Instrumentation.cs @@ -60,9 +60,10 @@ public static void Initialize() try { + // Creates GlobalSettings instance and loads plugins PluginManager.TryLoadPlugins(GlobalSettings.Source.PluginsConfiguration); - // ensure global instance is created if it's not already + // First call to create Tracer instace _ = Tracer.Instance; } catch