public void Dispose() { // Verify the profiler env variable is specified. This prevents our unit tests from failing. if (!string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("NWNX_PROFILER_SKIP"))) { NWNXProfiler.PopPerfScope(); } }
public void Dispose() { NWNXProfiler.PopPerfScope(); }