Skip to content

No callback when destroying websocket client tracker with consummers > 1 #141

@Chocobozzz

Description

@Chocobozzz

Hi :)

If consummers > 1, the callback is not fired (https://github.com/feross/bittorrent-tracker/blob/master/lib/client/websocket-tracker.js#L142).

I don't have the documentation of the destroy method so I don't know if a "normal comportment".

But it seems to be the cause of an issue with webtorrent: if you have add 2 (or more) torrents of the same tracker and you want to remove one of them the callback is not fired.

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