Skip to content

Commit

Permalink
Fix for Sparkle crasher in scheduleNextUpdateCheck.
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan 'Wolf' Rentzsch <jwr.git@redshed.net>
  • Loading branch information
lapcat authored and rentzsch committed May 3, 2009
1 parent 7458437 commit f7ca07b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sparkle/SUUpdater.m
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ - (void)scheduleNextUpdateCheck

- (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]];
}

Expand Down

0 comments on commit f7ca07b

Please sign in to comment.