Skip to content

Race condition in LanguageServerWrapper on exception in StreamConnectionProvider.start() #9

Closed

Description

Activity

  1. added
    bug
    on Sep 18, 2023
  2. self-assigned this
    on Sep 18, 2023
  3. lagergren commented on Nov 2, 2026

    @lagergren
    Collaborator

    This doesn't apply to LSP4IJ's LanguageServerWrapper anymore. start() and stop() are synchronized, stop clears only the start attempt it owns, and a failed start leaves serverError set, so the next start() stops and retries (up to 20 times). A failed initializeFuture no longer blocks a restart. I think this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions