Skip to content

Zed only closes JDTLS Processes once every instance of Zed are closed/killed #208

Description

@francescodedomenico

Relevance Confirmation

  • I confirmed that this is not an issue with the Eclipse JDT Language Server itself

What happened?

After opening a Java project the JDTLS Server starts, everything works correctly. If you do open a different project (in a new windows), lets say a Python project (no JDTLS Server running) and then close the Java Project the JDK process remains running until I do also close the Python project, consuming resources uselessly.
This may be slightly related to: #41 and fixed by: c64d7ad

But seems the cleanup policy happens only after every Zed instance is closed/killed.

What did you expect to happen?

I do expect that the JDK JDTLS process is killed when the Zed Instance/project who firstly spawned it is closed/killed, so I can keep my other projects open without having resources wasted.

Environment

Zed: 226.5
Platform: Windows 11 24h2
Java: Eclipse Adoptium jdk 25

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    language-serverRelated to the language server.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions