Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit edb28a1

Browse files
authored
Move rundown to the same code-site where we do ETW rundown before EEShutdown is marked as started. (#11938)
1 parent 016f7cc commit edb28a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/vm/ceemain.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,6 +1580,11 @@ void STDMETHODCALLTYPE EEShutDownHelper(BOOL fIsDllUnloading)
15801580
ETW::EnumerationLog::ProcessShutdown();
15811581
}
15821582

1583+
#ifdef FEATURE_PERFTRACING
1584+
// Shutdown the event pipe.
1585+
EventPipe::Shutdown();
1586+
#endif // FEATURE_PERFTRACING
1587+
15831588
#if defined(FEATURE_COMINTEROP)
15841589
// Get the current thread.
15851590
Thread * pThisThread = GetThread();
@@ -1712,11 +1717,6 @@ void STDMETHODCALLTYPE EEShutDownHelper(BOOL fIsDllUnloading)
17121717
PerfMap::Destroy();
17131718
#endif
17141719

1715-
#ifdef FEATURE_PERFTRACING
1716-
// Shutdown the event pipe.
1717-
EventPipe::Shutdown();
1718-
#endif // FEATURE_PERFTRACING
1719-
17201720
#ifdef FEATURE_PREJIT
17211721
{
17221722
// If we're doing basic block profiling, we need to write the log files to disk.

0 commit comments

Comments
 (0)