Skip to content

Commit

Permalink
Fix SessionDelegate::OnSessionHang docs header (project-chip#22928)
Browse files Browse the repository at this point in the history
  • Loading branch information
msandstedt authored and sharad-patil24 committed Sep 30, 2022
1 parent 739b358 commit c95ebef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/transport/SessionDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
};
Expand Down

0 comments on commit c95ebef

Please sign in to comment.