Skip to content

Commit

Permalink
Return null on shutdown request
Browse files Browse the repository at this point in the history
Fixes eclipse-lemminx#1508

Signed-off-by: David Thompson <davthomp@redhat.com>
  • Loading branch information
datho7561 committed Apr 14, 2023
1 parent b34a847 commit fab7233
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public CompletableFuture<Object> shutdown() {
if (capabilityManager.getClientCapabilities().shouldLanguageServerExitOnShutdown()) {
delayer.schedule(() -> exit(0), 1, TimeUnit.SECONDS);
}
return computeAsync(cc -> new Object());
return CompletableFuture.completedFuture(null);
}

@Override
Expand Down

0 comments on commit fab7233

Please sign in to comment.