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();
     }
 }
Example #2
0
 public void Dispose()
 {
     NWNXProfiler.PopPerfScope();
 }