Skip to content

signalR save promise after disconnection #3338

@amitbarkai

Description

@amitbarkai

In the start method, the deferred being used is sometimes the one saved on the _connection object.
if you listen to the disconnect event of the hub, and try to initiate another connection, you get the previous deferred object, which is already resolved, and the hub doesn't try to connect again.
It seems that the deferred has not yet been deleted (it should be in the stop method that is initiated from the disconnect inner event).

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