ETW::EnumerationLog::ProcessShutdown();
}
+#ifdef FEATURE_PERFTRACING
+ // Shutdown the event pipe.
+ EventPipe::Shutdown();
+#endif // FEATURE_PERFTRACING
+
#if defined(FEATURE_COMINTEROP)
// Get the current thread.
Thread * pThisThread = GetThread();
PerfMap::Destroy();
#endif
-#ifdef FEATURE_PERFTRACING
- // Shutdown the event pipe.
- EventPipe::Shutdown();
-#endif // FEATURE_PERFTRACING
-
#ifdef FEATURE_PREJIT
{
// If we're doing basic block profiling, we need to write the log files to disk.