flowjs / flow.js

A JavaScript library providing multiple simultaneous, stable, fault-tolerant and resumable/restartable file uploads via the HTML5 File API.
Other
2.96k stars 346 forks source link

removeFile triggers complete event mutiple times #292

Open Vringe opened 4 years ago

Vringe commented 4 years ago

When I upload a single file with simultaneous uploads and chunks enabled and I remove the file via .removeFile(file), the complete event gets triggered for every cancelled chunk.

So with 10 simultaenous uploads, the complete event gets triggered 10 times.

It looks like a timing issue.