mzeeshanid / MZDownloadManager

This download manager uses NSURLSession api to download files. It can download multiple files at a time. It can download large files if app is in background. It can resume downloads if app was quit.
BSD 3-Clause "New" or "Revised" License
1.12k stars 238 forks source link

Lots of crashes #35

Open JeanetteMueller opened 7 years ago

JeanetteMueller commented 7 years ago

Hi,

i have a lot of crashes like:

function signature specialization <Arg[0] = Owned To Guaranteed, Arg[1] = Owned To Guaranteed, Arg[4] = Owned To Guaranteed> of MZDownloadManager.MZDownloadManager.(URLSession (ObjC.URLSession, downloadTask : ObjC.URLSessionDownloadTask, didWriteData : Swift.Int64, totalBytesWritten : Swift.Int64, totalBytesExpectedToWrite : Swift.Int64) -> ()).(closure #1) (MZDownloadManager.swift:194)

don'n know how to fix this or you may fix this.

JeanetteMueller commented 7 years ago

@ MZDownloadManager.swift Line 284 you generate a MZDownloadModel but you did not set the startTime. Every else you did.