Browse Source

dirch _removeUpload calls

Artur Paikin 6 years ago
parent
commit
bfd4166b93
1 changed files with 0 additions and 6 deletions
  1. 0 6
      packages/@uppy/core/src/index.js

+ 0 - 6
packages/@uppy/core/src/index.js

@@ -586,12 +586,6 @@ class Uppy {
   cancelAll () {
     this.emit('cancel-all')
 
-    const { currentUploads } = this.getState()
-    const uploadIDs = Object.keys(currentUploads)
-    uploadIDs.forEach((id) => {
-      this._removeUpload(id)
-    })
-
     const files = Object.keys(this.getState().files)
     files.forEach((fileID) => {
       this.removeFile(fileID)