Skip to content

Commit e3e4235

Browse files
Update src/ModelContextProtocol.Core/Client/StreamableHttpClientSessionTransport.cs
Co-authored-by: Stephen Toub <stoub@microsoft.com>
1 parent 141aaed commit e3e4235

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ModelContextProtocol.Core/Client/StreamableHttpClientSessionTransport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public override async ValueTask DisposeAsync()
155155

156156
try
157157
{
158-
// Send DELETE request to terminate the session only send if we have a session ID per MCP spec
158+
// Send DELETE request to terminate the session. Only send if we have a session ID, per MCP spec.
159159
if (!string.IsNullOrEmpty(SessionId))
160160
{
161161
await SendDeleteRequest();

0 commit comments

Comments
 (0)