Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Until it is fixed, let notify webtorrent user #1012

Merged
merged 2 commits into from Jan 11, 2017
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Next

Until it is fixed, let notify webtorrent user

  • Loading branch information
kocoten1992 committed Jan 11, 2017
commit 5400494097fb02609aa4de35653fc6d030e3fa53
@@ -165,6 +165,8 @@ Always listen for the 'error' event.
Remove a torrent from the client. Destroy all connections to peers and delete all saved
file data. If `callback` is specified, it will be called when file data is removed.

*Note: This feature is currently not delete torrent data ```/tmp/webtorrent/...``` (see client.add options), until it is implement, please implement it yourself (recommend using rimraf npm package).
## `client.destroy([function callback (err) {}])`
Destroy the client, including all torrents and connections to peers. If `callback` is specified, it will be called when the client has gracefully closed.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.