Title: leak: sessions is not clear when the transport is closed. · Issue #253 · modelcontextprotocol/java-sdk · GitHub
Open Graph Title: leak: sessions is not clear when the transport is closed. · Issue #253 · modelcontextprotocol/java-sdk
X Title: leak: sessions is not clear when the transport is closed. · Issue #253 · modelcontextprotocol/java-sdk
Description: When call closeGracefully() on *transport, I think we should clean up the sessions map once the operator is done.
Open Graph Description: When call closeGracefully() on *transport, I think we should clean up the sessions map once the operator is done.
X Description: When call closeGracefully() on *transport, I think we should clean up the sessions map once the operator is done.
Opengraph URL: https://github.com/modelcontextprotocol/java-sdk/issues/253
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"leak: sessions is not clear when the transport is closed.","articleBody":"When call `closeGracefully()` on `*transport`, I think we should clean up the `sessions` map once the operator is done.","author":{"url":"https://github.com/He-Pin","@type":"Person","name":"He-Pin"},"datePublished":"2025-05-20T11:31:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/253/java-sdk/issues/253"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:866c19be-5180-23d1-3c69-140d74b0653b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CAEC:11682C:3E42C10:52512E2:6A5D5195 |
| html-safe-nonce | 2fd01755b67d989d1a47d84c6011e015553770cd61ab7ff546659deb92ba97bd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUVDOjExNjgyQzozRTQyQzEwOjUyNTEyRTI6NkE1RDUxOTUiLCJ2aXNpdG9yX2lkIjoiODA4NTA2OTExNjY0OTMyOTA0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45db31d906eb2dbdeb620ede848ec389fb60da7e66cacc6e3ad50113abcec15d |
| hovercard-subject-tag | issue:3076685228 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/modelcontextprotocol/java-sdk/253/issue_layout |
| twitter:image | https://opengraph.githubassets.com/90b44e606047d049e23ab37ff8eabde151ff93caff245d3ca886c73bcae79d42/modelcontextprotocol/java-sdk/issues/253 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/90b44e606047d049e23ab37ff8eabde151ff93caff245d3ca886c73bcae79d42/modelcontextprotocol/java-sdk/issues/253 |
| og:image:alt | When call closeGracefully() on *transport, I think we should clean up the sessions map once the operator is done. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | He-Pin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 919609219 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/java-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 919609219 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/java-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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width