Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,9 @@ else if (message instanceof McpSchema.JSONRPCRequest jsonrpcRequest) {
}
catch (Exception e) {
logger.error("Failed to handle request stream: {}", e.getMessage());
asyncContext.complete();
// The transport may already have completed the async context, when
// the failure comes from a message it could not send
sessionTransport.close();
}
}
else {
Expand Down
Loading