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

call unref only when present #630

Merged
merged 1 commit into from Feb 21, 2016
Merged

call unref only when present #630

merged 1 commit into from Feb 21, 2016

Conversation

@substack
Copy link
Contributor

substack commented Feb 20, 2016

This patch to the command-line client guards calls to .unref() so unref is only called when present. Electron doesn't appear to have .unref() methods. Now with this patch I can do:

$ electron-spawn `which webtorrent` MAGNET

to download a magnet over webrtc from the command-line using webtorrent.

feross added a commit that referenced this pull request Feb 21, 2016
call unref only when present
@feross feross merged commit ec2c159 into webtorrent:master Feb 21, 2016
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@feross

This comment has been minimized.

Copy link
Member

feross commented Feb 21, 2016

0.78.1

@lock

This comment has been minimized.

Copy link

lock bot commented May 4, 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 4, 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.