Skip to content

Commit

Permalink
Fix NPE when the server is stopped due to a failure during
Browse files Browse the repository at this point in the history
initialization
  • Loading branch information
rubenporras committed Jul 26, 2022
1 parent 2632a55 commit 2da3913
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ public synchronized void start() throws IOException {
stop();
}
return null;
}).thenApply(unused -> {
});
initializeFuture.thenCombineAsync(initializeFuture, (unused1, unused2) -> {
try {
LanguageClientImpl client = serverDefinition.createLanguageClient();
String theardNameFormat = "LS-" + serverDefinition.id + "-launcher-%d"; //$NON-NLS-1$ //$NON-NLS-2$
Expand Down

0 comments on commit 2da3913

Please sign in to comment.