Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upDestroy/Start a torrent with the same info hash #1060
Closed
Labels
Comments
This comment has been minimized.
This comment has been minimized.
|
How long did you wait after destroying before you added it back again? You should probably be waiting until the Try: torrent.destroy(function () {
client.add(/* ... */)
})Also, if you can share a minimal code example that can reliably reproduce the issue that would help immensely. |
This comment has been minimized.
This comment has been minimized.
|
This issue appears stale since it has been open for a while with no activity. I'm going to close it for now. If this is still issue, please feel free to leave a comment or open a new issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
webtorrent: 0.98.8
OS: Ubuntu 14.04.5 LTS
Node: 7.5.0
npm: 4.2.0
Stopped a torrent download with the following code:
Then tried to start a torrent with the same info hash again pointed at the same path:
I expected the torrent to start downloading again.
Instead this these events were fired and the torrent was not downloaded:
I have spent some time attempting to figure this out, by looking at both the webtorrent-desktop and this repository for answers. I tried a couple different approaches through some of the issues that have been posted, but to no avail. Thanks again for this great library, but could you please lend some help!
EDIT:
The torrent does start downloading again after about 16 minutes. Here are some more logs: