public static void Run() { if (Interlocked.CompareExchange(ref _isEnabled, 1, 0) == 1) { return; } // Enable diagnostics GCTracker.Init(); }
public static void Run() { if (Interlocked.CompareExchange(ref _isEnabled, 1, 0) == 1) { return; } // Enable diagnostics GCTracker.Init(); }