Title: fix: cleanup resources properly on `BaseSession::_receive_loop` cleanup by challenger71498 · Pull Request #1817 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: fix: cleanup resources properly on `BaseSession::_receive_loop` cleanup by challenger71498 · Pull Request #1817 · modelcontextprotocol/python-sdk
X Title: fix: cleanup resources properly on `BaseSession::_receive_loop` cleanup by challenger71498 · Pull Request #1817 · modelcontextprotocol/python-sdk
Description: This PR fixes Session cleanup is being failed, caused by task cancellation via __aexit__ not handled properly. Motivation and Context Session cleanups the receive streams via finally clause of Base...
Open Graph Description: This PR fixes Session cleanup is being failed, caused by task cancellation via __aexit__ not handled properly. Motivation and Context Session cleanups the receive streams via finally clause of Base...
X Description: This PR fixes Session cleanup is being failed, caused by task cancellation via __aexit__ not handled properly. Motivation and Context Session cleanups the receive streams via finally clause of Base...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/1817
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:98e2b302-203e-95a8-a5ef-8adbbb117865 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AED4:2445E2:55263C7:728DFA1:696E158F |
| html-safe-nonce | b95856adbb63d16266591fe2b4d7cd9cee6700aeb77a3ab38322ef824b5ea78d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUQ0OjI0NDVFMjo1NTI2M0M3OjcyOERGQTE6Njk2RTE1OEYiLCJ2aXNpdG9yX2lkIjoiNDMwNjI1NDI2NTY2NDI3OTk1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 201af19eca32ae870337b7bdc290419b6840c925c75d657d9317cab28a2d1835 |
| hovercard-subject-tag | pull_request:3130558117 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/1817/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/451d55b4d71ea6596dcf3bf2e6ddc7e8444b0be52f4acb98032fea6bcf2fbef9/modelcontextprotocol/python-sdk/pull/1817 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/451d55b4d71ea6596dcf3bf2e6ddc7e8444b0be52f4acb98032fea6bcf2fbef9/modelcontextprotocol/python-sdk/pull/1817 |
| og:image:alt | This PR fixes Session cleanup is being failed, caused by task cancellation via __aexit__ not handled properly. Motivation and Context Session cleanups the receive streams via finally clause of Base... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | challenger71498 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1a7d6d739bf034e67486b9f97a31887ca30302b72a0acac49b6bcddff34356d7 |
| turbo-cache-control | no-preview |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 87d7872ec7094ed247923539669aabda9230966f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width