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

Deselect done fix #316 #533

wants to merge 3 commits into from

Conversation

@DiegoRBaquero
Copy link
Member

DiegoRBaquero commented Dec 21, 2015

If the files are deselected then they are "done"

@feross

This comment has been minimized.

Copy link
Member

feross commented Dec 28, 2015

This will work most of the time (and is definitely an improvement), but it won't work if the user implicitly deselects the file by deselecting all the pieces that make up the file.

torrent.deselect(0, torrent.pieces.length)
feross added a commit that referenced this pull request Dec 28, 2015
@feross

This comment has been minimized.

Copy link
Member

feross commented Dec 28, 2015

Here's a different approach that doesn't have the issue I mentioned above: #544

@DiegoRBaquero What do you think?

@feross feross closed this Dec 28, 2015
@feross feross deleted the deselect-done-fix branch Dec 28, 2015
@feross

This comment has been minimized.

Copy link
Member

feross commented Dec 28, 2015

Going with PR #544

@lock

This comment has been minimized.

Copy link

lock bot commented May 5, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.