redhat-developer / vscode-server-connector

📦 VS Code extension to run JBoss EAP servers and Runtimes
Eclipse Public License 2.0
57 stars 26 forks source link

Workspace locking - possible issue? #403

Closed robstryker closed 4 years ago

robstryker commented 4 years ago

When terminating vscode or an rsp-server directly, it's possible that the workspace lock file is never removed. On the next startup attempt, the rsp may refuse to start because the workspace is locked. vscode-server-connector should try to work around this by checking if the port named in teh lock file is still in use and possibly delete the lock file before starting the rsp.