diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-07-28 08:29:33 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-07-28 08:29:33 +0300 |
commit | 4b48bad8766a5215c68451f70250a7f6f7262303 (patch) | |
tree | a0aba47a714fe64a8fcb6eddd7960713ca1a4bbb /bin/cmd.js | |
parent | d721cb80b472c4faf3691fc81d55d968981d3fef (diff) |
cmd: --vlc keeps the event loop alive during "graceful exit" stage (fix #388)
Diffstat (limited to 'bin/cmd.js')
-rwxr-xr-x | bin/cmd.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -358,7 +358,7 @@ function runDownload (torrentId) { cp.execFile(vlcPath, VLC_ARGS, function (err) { if (err) return errorAndExit(err) torrentDone() - }) + }).unref() } } else if (argv.vlc) { var root = '/Applications/VLC.app/Contents/MacOS/VLC' @@ -378,7 +378,7 @@ function runDownload (torrentId) { cp.exec(cmd, function (err) { if (err) return errorAndExit(err) torrentDone() - }) + }).unref() } if (argv.airplay) { |