Skip to content

LanguageServer.Shutdown method hangs indefinitely when flushing buffered output #159

Closed
@daviwil

Description

@daviwil

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions