marmelroy / Zip

Swift framework for zipping and unzipping files.
MIT License
2.51k stars 452 forks source link

progressHandler called twice with 1.0 value #218

Open momomomo888 opened 3 years ago

momomomo888 commented 3 years ago

zipData function send its progress to the progressHandler, but when finished, it sends a progress value of 1.0 (process completed) twice... one inside the loop and the other one after closing the file.

It should only be one when the file is already closed, or having any kind of zipFinished closure.

on zipFiles function is already solved