Do not remove the actions from a queue item after its completion.

This commit is contained in:
Damiano Galassi committed 2016-11-11 11:57:11 +01:00
1 parent eb7d2c5ba7
commit ae08dae8d6
2 files changed
+2 -6

No files matched your search

-4
View File
@@ -362,10 +362,6 @@ bail:
self.mp4File.progressHandler = nil;
self.mp4File = nil;
[self willChangeValueForKey:@"actions"];
[self.actionsInternal removeAllObjects];
[self didChangeValueForKey:@"actions"];
#ifdef SB_SANDBOX
if ([destination respondsToSelector:@selector(stopAccessingSecurityScopedResource)])
[destination stopAccessingSecurityScopedResource];