Mark the EventPipe crst as host breakable. (#11899)
authorBrian Robbins <brianrob@microsoft.com>
Thu, 25 May 2017 01:19:22 +0000 (18:19 -0700)
committerGitHub <noreply@github.com>
Thu, 25 May 2017 01:19:22 +0000 (18:19 -0700)
src/vm/eventpipe.cpp

index 65af646..b73c023 100644 (file)
@@ -44,7 +44,7 @@ void EventPipe::Initialize()
 
     s_tracingInitialized = s_configCrst.InitNoThrow(
         CrstEventPipe,
-        (CrstFlags)(CRST_REENTRANCY | CRST_TAKEN_DURING_SHUTDOWN));
+        (CrstFlags)(CRST_REENTRANCY | CRST_TAKEN_DURING_SHUTDOWN | CRST_HOST_BREAKABLE));
 
     s_pConfig = new EventPipeConfiguration();
     s_pConfig->Initialize();