Skip to content

[Bug] Server fails to close properly when calling close() method #113

Open
@AnyOpenGL

Description

@AnyOpenGL

When attempting to create an instance using the following code:

object Example {
  val server by lazy {
    configServer()
  }
}

Everything works normally, including the MCP server running properly. However, when I try to call close() on the server:

  1. The server doesn't shut down as expected
  2. The ports are not being released

Expected Behavior:

  1. The server should terminate properly when close() is called
  2. All occupied ports should be released

Request:
Could someone help investigate why the server isn't closing properly and how to fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions