diff options
author | José Rivero <jorive@microsoft.com> | 2019-04-18 13:18:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-18 13:18:26 -0700 |
commit | b874895d6ec17d51d9f4b271fb878f89ce674543 (patch) | |
tree | 7ae6f57311686c3d20138c1660f82739e15b69e9 /src/vm/eventpipe.h | |
parent | af83b8ad6fe02b45321741e26d996ee4b738d67f (diff) | |
download | coreclr-b874895d6ec17d51d9f4b271fb878f89ce674543.tar.gz coreclr-b874895d6ec17d51d9f4b271fb878f89ce674543.tar.bz2 coreclr-b874895d6ec17d51d9f4b271fb878f89ce674543.zip |
If IPC connections fails, then remove active session. (#24082)
Diffstat (limited to 'src/vm/eventpipe.h')
-rw-r--r-- | src/vm/eventpipe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vm/eventpipe.h b/src/vm/eventpipe.h index e3704d7763..b40a0b7735 100644 --- a/src/vm/eventpipe.h +++ b/src/vm/eventpipe.h @@ -305,6 +305,8 @@ private: // The counterpart to WriteEvent which after the payload is constructed static void WriteEventInternal(EventPipeEvent &event, EventPipeEventPayload &payload, LPCGUID pActivityId = NULL, LPCGUID pRelatedActivityId = NULL); + static void DisableInternal(EventPipeSessionID id); + // Enable the specified EventPipe session. static EventPipeSessionID Enable( LPCWSTR strOutputPath, |