BoC.Profiling.Profiler.ProfilingContext.Dispose C# (CSharp) Method

Dispose() private method

Releases unmanaged and - optionally - managed resources.
private Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void
            private void Dispose(bool disposing)
            {
                if (_performanceProfilers == null || _performanceProfilers.Length == 0)
                    return;
                foreach (var profiler in _performanceProfilers)
                {
                    profiler.EndSession(_key);
                }
            }

Same methods

Profiler.ProfilingContext::Dispose ( ) : void
Profiler.ProfilingContext