-
Notifications
You must be signed in to change notification settings - Fork 402
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
Fix build on Windows #991
Fix build on Windows #991
Conversation
return new Object(); | ||
}); | ||
} | ||
|
||
private void disconnectFromWorkspace() { | ||
try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will called twice and log two duplicate logs?
@@ -304,27 +305,35 @@ private CodeActionOptions getCodeActionOptions() { | |||
@Override | |||
public CompletableFuture<Object> shutdown() { | |||
logInfo(">> shutdown"); | |||
disconnectFromWorkspace(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious why this is not put in the computeAsync body?
|
computeAsync still seems more "correct", after reading the comments on microsoft/vscode#35196 (comment) |
125ff6a
to
f3bf055
Compare
@fbricon @yaohaizh I have updated the PR and https://raw.githubusercontent.com/snjeza/vscode-test/master/java-0.43.1.vsix |
You can also test with the following property on Windows:
'-DwatchParentProcess=10' is default on Mac/Linux. |
Closing the spring-boot workspace leads to some project state being corrupted, failing to build on restart |
Signed-off-by: Snjezana Peco <[email protected]>
I can't reproduce the issue. |
The issue has been fixed within #1661 |
Fixes redhat-developer/vscode-java#793
Requires redhat-developer/vscode-java#880
Signed-off-by: Snjezana Peco [email protected]