kotlin-sdk/kotlin-sdk-server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pavel Gorgulov ee341df11e
Fix: Memory leak from unclosed sessions in Server (#359)
## Motivation and Context
Sessions were added to the `sessions` list on connect but never removed
when closed, causing a memory leak in long-running server processes. The
closed sessions and their closures would accumulate indefinitely,
preventing garbage collection.

## Breaking Changes
None

## Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update

## Checklist
- [x] I have read the [MCP
Documentation](https://modelcontextprotocol.io)
- [x] My code follows the repository's style guidelines
- [x] New and existing tests pass locally
- [x] I have added appropriate error handling
- [x] I have added or updated documentation as needed
2025-11-03 17:36:53 +02:00
..
api Refactor mcp server, rename connect to (#364) 2025-11-03 15:32:25 +01:00
src Fix: Memory leak from unclosed sessions in Server (#359) 2025-11-03 17:36:53 +02:00
build.gradle.kts Refactor WebSocket dependency (#350) 2025-10-28 11:52:07 +01:00
Module.md Add module documentation and enhance Dokka configuration (#261) 2025-09-15 17:44:43 +02:00