summaryrefslogtreecommitdiff
path: root/src/vm/eventpipe.h
diff options
context:
space:
mode:
authorJosé Rivero <jorive@microsoft.com>2019-04-18 13:18:26 -0700
committerGitHub <noreply@github.com>2019-04-18 13:18:26 -0700
commitb874895d6ec17d51d9f4b271fb878f89ce674543 (patch)
tree7ae6f57311686c3d20138c1660f82739e15b69e9 /src/vm/eventpipe.h
parentaf83b8ad6fe02b45321741e26d996ee4b738d67f (diff)
downloadcoreclr-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.h2
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,