Skip to content

VSCode Server, EditorServices.Host process does not stop on closing VSCode #8224

@ChristianHovenbitzer

Description

@ChristianHovenbitzer

Please include the following with each issue:

1. Describe the bug
When connecting to a visual studio code server and opening a repository on the remote, the AL Language Extension spins up the process
.vscode-server/extensions/ms-dynamics-smb.al-18.0.2242655/bin/linux/Microsoft.Dynamics.Nav.EditorServices.Host /telemetryLevel:all /browser:SystemDefault /logLevel:Normal /semanticFolding:true /extendGoToSymbolInWorkspace:true /extendGoToSymbolInWorkspaceResultLimit:100 /extendGoToSymbolInWorkspaceIncludeSymbolFiles:true /testCoverageCachePath:./.coverage /sessionId:1439b301-0217-47e0-be97-595a4de5952c

If the local VS Code closes and reconnects to the VSCode Server again, the old process still runs and the extension creates a new process.

2. To Reproduce

  1. Set up a VSCode server

  2. Connect a local VSCode to the server

  3. Install and enable the AL Language extension on the server

  4. Open an AL Repository and let the extension load the workspace
    Note: at this point there should be 1 EditorServices.Host process running

  5. Close and reopen VSCode and connect to the remote again

  6. Go to '...'

AL code snippet that demonstrates the issue or a link to a code repository the developers can easily pull down to recreate the issue locally.

No AL code required to reproduce this issue.

Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.

3. Expected behavior
A clear and concise description of what you expected to happen.

The process is terminated when the connection to the host is interrupted.

4. Actual behavior
A clear and concise description of what happened accompanied by images, animations, or a link to a video showing the issue occurring

The process runs indefinitely.

5. Versions:

Final Checklist

Please remember to do the following:

  • [ x ] Search the issue repository to ensure you are reporting a new issue

  • [ x ] Reproduce the issue after disabling all extensions except the AL Language extension

  • [ x ] Simplify your code around the issue to better isolate the problem

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