Merge pull request #1302 from elgatosf/master

SPUDownloaderSession leaked because the NSURLSession wasn’t invalidated
This commit is contained in:
Kornel authored and GitHub committed 2018-10-30 02:38:34 +00:00
commit 80d8758fc2
1 file changed
+1
+1
View File
@@ -150,6 +150,7 @@
-(void)cleanup
{
[self.download cancel];
[self.downloadSession invalidateAndCancel];
self.download = nil;
self.downloadSession = nil;
[super cleanup];