Exemplo n.º 1
0
 protected override VoidResult <ResponseError> Shutdown()
 {
     Logger.Instance.Log("Language Server is about to shutdown.");
     // WORKAROUND: Language Server does not receive an exit notification.
     Task.Delay(1000).ContinueWith(_ => Environment.Exit(0));
     return(VoidResult <ResponseError> .Success());
 }
Exemplo n.º 2
0
 protected override VoidResult <ResponseError> Shutdown()
 {
     exitCode = ExitCode.NoExit;
     return(VoidResult <ResponseError> .Success());
 }