Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PatrikValo opened this issue May 8, 2024 · 0 comments
Open

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

PatrikValo opened this issue May 8, 2024 · 0 comments

Comments

@PatrikValo
Copy link

PatrikValo commented May 8, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant