Skip to content

Commit 02dfe0b

Browse files
Update session.py
1 parent e955efd commit 02dfe0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/shared/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def __exit__(
102102
exc_type: type[BaseException] | None,
103103
exc_val: BaseException | None,
104104
exc_tb: TracebackType | None,
105-
) -> None:
105+
) -> bool:
106106
"""Exit the context manager, performing cleanup and notifying completion."""
107107
try:
108108
if self._completed: # pragma: no branch

0 commit comments

Comments
 (0)