Merge branch 'vnext' into sw

This commit is contained in:
Danny Coates 2018-07-19 12:16:48 -07:00
commit 86f2a531d4
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
3 changed files with 19 additions and 3 deletions

View file

@ -21,10 +21,11 @@ module.exports = async function(req, res) {
file_stream.destroy();
});
file_stream.on('close', async () => {
file_stream.on('end', async () => {
if (cancelled) {
return;
}
const dl = meta.dl + 1;
const dlimit = meta.dlimit;
try {