You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -325,7 +317,10 @@ public void FinishTracer(object returnValue, Exception exception)
325
317
326
318
/// <summary>
327
319
/// Used to stop re-entry into the agent via AgentShim entry points when the call stack contains agent code already.
328
-
/// The profiler stops reentry of GetTracer/FinishTracer twice in the same call stack, but it doesn't stop the agent from spinning up a background thread and then entering the agent from that thread. To resolve this, anytime a new thread is spun up (via any mechanism including async, Timer, Thread, ThreadPool, etc.) the work inside it needs to be wrapped in using (new IgnoreWork()) as a way of telling AgentShim to not re-enter.
320
+
/// The profiler stops reentry of GetTracer/FinishTracer twice in the same call stack, but it doesn't stop the agent
321
+
/// from spinning up a background thread and then entering the agent from that thread. To resolve this, anytime a
322
+
/// new thread is spun up (via any mechanism including async, Timer, Thread, ThreadPool, etc.) the work inside it
323
+
/// needs to be wrapped in using (new IgnoreWork()) as a way of telling AgentShim to not re-enter.
0 commit comments