From c746a224d029f84556298893e8f2789df4bc3dda Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Fri, 10 May 2019 09:30:23 -0700 Subject: [PATCH] Remove obsolete comments --- .../shared/System/Diagnostics/Tracing/CounterGroup.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs index d20abe8..c60ba36 100644 --- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs +++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs @@ -58,11 +58,6 @@ namespace System.Diagnostics.Tracing if (e.Arguments.TryGetValue("EventCounterIntervalSec", out valueStr) && float.TryParse(valueStr, out value)) { - // Recursion through EventSource callbacks possible. When we enable the timer - // we synchonously issue a EventSource.Write event, which in turn can call back - // to user code (in an EventListener) while holding this lock. This is dangerous - // because it means this code might inadvertantly participate in a lock loop. - // The scenario seems very unlikely so we ignore that problem for now. lock (this) // Lock the CounterGroup { EnableTimer(value); -- 2.7.4