Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error when using DownloadTask when cassette is not available #35

Open
mihaigeorgescu-newstore opened this issue Dec 2, 2015 · 1 comment

Comments

@mihaigeorgescu-newstore
Copy link

DownloadTask crashes with message "[DVR] Something has gone horribly wrong." when trying to download a file from a remote location.
I am getting the same message even when i am using the example test for downloadTask.
The url is valid and the file is there because i download with the sharedSession the file from that URL, and it downloads successfully.

@mihaigeorgescu-newstore
Copy link
Author

So from what i see the issue is that the task, created by the downloadTask is not retained and it will be released, which will cause the app to crash in the completion block.
Besides that, if you retain that task it won't get released because when it will finish, it will call session.finishTask which doesn't have it in the outstandingTasks array.

So as a conclusion i think the downladTask is not functional and the architecture doesn't support it for the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant