mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Fix for Sparkle crasher in scheduleNextUpdateCheck. Originally by lapcat, http://github.com/rentzsch/clicktoflash/commit/f7ca07b3e6e6e13de8133d8e237f284f2ccdc066
This commit is contained in:
1 parent
119bac527f
commit
9b5b541c82
1 file changed
+2
@@ -174,6 +174,8 @@ static NSString *SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaultsObserv
|
||||
|
||||
- (void)checkForUpdatesInBackground
|
||||
{
|
||||
checkTimer = nil; // Timer doesn't repeat, so it's invalid, just needs to be set to nil.
|
||||
|
||||
[self checkForUpdatesWithDriver:[[[([self automaticallyDownloadsUpdates] ? [SUAutomaticUpdateDriver class] : [SUScheduledUpdateDriver class]) alloc] initWithUpdater:self] autorelease]];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user