diff options
author | Chuong <kocoten1992@users.noreply.github.com> | 2017-01-11 13:00:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-11 13:00:33 +0300 |
commit | 5400494097fb02609aa4de35653fc6d030e3fa53 (patch) | |
tree | 103327954c64f9dd04f075641245cef0398294f3 /docs/api.md | |
parent | 4c09ab63109628a24437fac696f47cec52f1fde0 (diff) |
Until it is fixed, let notify webtorrent user
https://github.com/feross/webtorrent/issues/1000
Diffstat (limited to 'docs/api.md')
-rw-r--r-- | docs/api.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/api.md b/docs/api.md index 0de88ea..ebf6317 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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. |