Closed
Description
The LanguageServer.Shutdown method in the Protocol project hangs indefinitely when there is buffered output to be flushed before shutting down. This is caused by the outputDebouncer.OnFlush().Wait()
call which blocks the current SynchronizationContext, preventing the subsequent SendEvent call from completing.