added automatic system exit after 3sec of shutdown message received + made system exit process more robust by not doing too much automatic from Spring beans

This commit is contained in:
Martin Lippert
2021-05-25 16:27:35 +02:00
parent 7b098c039d
commit 6e548dda1e
2 changed files with 32 additions and 8 deletions

View File

@@ -43,7 +43,8 @@ import com.google.common.collect.ImmutableMap;
public class LanguageServerAutoConf {
@ConditionalOnMissingBean
@Bean public SimpleLanguageServer languageServer(
@Bean(destroyMethod = "")
public SimpleLanguageServer languageServer(
LanguageServerProperties props,
Optional<DiagnosticSeverityProvider> severities,
Optional<CompletionFilter> completionFilter,