Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2015-05-23 07:46:45 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-05-23 07:46:45 +0300
commit40c1095199ad76ce54cda002b95b4a36cba18f17 (patch)
tree2cef636411d776ffb344a9bbbd8d1e5f20897368 /bin
parent418f2c3cbbcf7467ac0366ada6e57422f4935c37 (diff)
bug: if download is really fast, streaming doesn't start
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cmd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cmd.js b/bin/cmd.js
index d695e95..231dacd 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -424,7 +424,7 @@ function runDownload (torrentId) {
}
function done () {
- if (!serving) process.exit(0)
+ if (!playerName && !serving) process.exit(0)
}
}