mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Finished updater queue task.
This commit is contained in:
1 parent
d5d9824b6c
commit
b52291cfc6
1 file changed
+9
@@ -106,6 +106,8 @@
|
||||
@property (assign) BOOL shouldContinueCheck;
|
||||
@property (nonatomic, retain) NSMutableArray *resultUIDrivers;
|
||||
|
||||
@property (assign, getter=isProcessingUpdatersCheck) BOOL processingUpdatersCheck;
|
||||
|
||||
@end
|
||||
|
||||
@implementation SUUpdaterQueue
|
||||
@@ -261,6 +263,11 @@
|
||||
|
||||
- (void)performCheckForUpdates:(NSString *)selectorName
|
||||
{
|
||||
if (self.isProcessingUpdatersCheck)
|
||||
return;
|
||||
|
||||
self.processingUpdatersCheck = YES;
|
||||
|
||||
NSUInteger index = 0;
|
||||
self.shouldContinueCheck = YES;
|
||||
self.resultUIDrivers = [NSMutableArray array];
|
||||
@@ -308,6 +315,8 @@
|
||||
[driver performSelectorOnMainThread:@selector(didNotFindUpdate) withObject:nil waitUntilDone:YES];
|
||||
}
|
||||
self.resultUIDrivers = nil;
|
||||
|
||||
self.processingUpdatersCheck = NO;
|
||||
}
|
||||
|
||||
- (void)checkForUpdates
|
||||
|
||||
Reference in new issue
Block a user