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

Deselect done fix #316 #533

Closed
wants to merge 3 commits into from
Closed
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

Update torrent.js for deselected fix

  • Loading branch information
DiegoRBaquero committed Dec 21, 2015
commit 33b2f473b3876df2664e818016a42b75e2a89dc9
@@ -1153,7 +1153,7 @@ Torrent.prototype._checkDone = function () {
})

// is the torrent done?
if (self.files.every(function (file) { return file.done })) {
if (self.files.every(function (file) { return file.done || file.deselected })) {
self.done = true
self.emit('done')
debug('torrent done: ' + self.infoHash)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.