Skip to content

Socket - rejectAfterPromiseResolved #190

@robinmaree

Description

@robinmaree

It seems like this timeout is never cleared/cancelled, it's executed for every socket message being send. This is resulting in a rejectAfterPromiseResolved error because the promise is already resolved/rejected somewhere.

Timeout:

reject("The socket timed out while waiting for a response.")

Where it's resolved/rejected (not confirmed):

executor.reject(<SocketError>message.error);

Not sure what the best fix is yet, but can investigate more if needed.

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