Skip to content

Having issues when downloading over fast network on slow devices #74

@christie-alphero

Description

@christie-alphero

In the MZDownload.swift
in the " func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64)"

I am getting a bunch of crashes. It is always an index out of bounds exception on Line 210.

It seems as though while the download model is being updated asynchrounously, the download array is updated and the downloadingArray no longer contains the download model at the index specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions