From 41108092b1f15ff82e8583ccfbae178f59b19160 Mon Sep 17 00:00:00 2001 From: Michael Sandstedt Date: Thu, 29 Sep 2022 09:09:16 -0500 Subject: [PATCH] Fix SessionDelegate::OnSessionHang docs header (#22928) --- src/transport/SessionDelegate.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/transport/SessionDelegate.h b/src/transport/SessionDelegate.h index b7dbb4b8d7a94a..b9e0a7b8b38b0c 100644 --- a/src/transport/SessionDelegate.h +++ b/src/transport/SessionDelegate.h @@ -62,9 +62,8 @@ class DLL_EXPORT SessionDelegate /** * @brief - * Called when a session is unresponsive for a while (detected by MRP) - * - * Note: the implementation must not do anything that will destroy the session or change the SessionHolder. + * Called when a session is unresponsive for a while (detected by MRP). Callees SHALL NOT make synchronous calls into + * SessionManager to allocate a new session. If they desire to do so, it MUST be done asynchronously. */ virtual void OnSessionHang() {} };