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