Do not remove the actions from a queue item after its completion.
This commit is contained in:
1 parent
eb7d2c5ba7
commit
ae08dae8d6
2 files changed
+2
-6
No files matched your search
+2
-2
@@ -38,8 +38,8 @@ NSString *SBQueueCancelledNotification = @"SBQueueCancelledNotification";
|
||||
- (instancetype)initWithURL:(NSURL *)queueURL {
|
||||
self = [super init];
|
||||
if (self) {
|
||||
_workQueue = dispatch_queue_create("org.subler.WorkQueue", NULL);
|
||||
_arrayQueue = dispatch_queue_create("org.subler.SaveQueue", NULL);
|
||||
_workQueue = dispatch_queue_create("org.subler.WorkQueue", DISPATCH_QUEUE_SERIAL);
|
||||
_arrayQueue = dispatch_queue_create("org.subler.SaveQueue", DISPATCH_QUEUE_SERIAL);
|
||||
_URL = [queueURL copy];
|
||||
|
||||
if ([[NSFileManager defaultManager] fileExistsAtPath:queueURL.path]) {
|
||||
|
||||
Reference in new issue
Block a user