Skip to content

The Microsoft.ArmLanguageServer.dll doesn't react on shutdown #1699

Open
@PatrikValo

Description

@PatrikValo

I noticed that my dev vm is running out of the memory. When I checked running processes I have seen a lot of running Microsoft.ArmLanguageServer.dll servers. It seems like closing the vscode leaks the language servers and keeps them running.

I took a look at the vscode-azurearmtools code and it seems to me that the logic is correct. It uses the disposable so it should automatically stop the server. Looking at the logs it seems to me that the Vscode LaunguageClient sends a shutdown

[Trace - 3:01:39 PM] Sending request 'shutdown - (2)'.

but ArmLanguageServer ignores it.

Could someone help here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions