Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/uploader/uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ export class Uploader {
reject(error)
}
} finally {
// Upload queue is cleared when all the uploading jobs are done
// Meta upload unlike real uploading does not create a job
// Removing it manually here to make sure it is remove even when no uploading happened and there was nothing to finish
this._uploadQueue.splice(this._uploadQueue.indexOf(upload), 1)
this._notifyAll(upload)
this.updateStats()
}
Expand Down
Loading