Skip to content

bad jasonrpc shutdown: CancellationToken.is breaks on undefined token #120

@siegebell

Description

@siegebell

jasonrpc: CancellationToken.is does not check for undefined before dereferencing a property, while languageclient calls shutdown with an undefined token:

shutdown: () => connection.sendRequest(ShutdownRequest.type, undefined),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions