From c80015bf998e73a43c611298441cf7eff8bc1d53 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 9 Apr 2016 12:35:23 -0400 Subject: [PATCH] Move invoking showCanCheckForUpdates: outside of this completion --- Sparkle/SUUpdater.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m index e1d7b3d6..0de28535 100644 --- a/Sparkle/SUUpdater.m +++ b/Sparkle/SUUpdater.m @@ -416,10 +416,10 @@ static void SUCheckForUpdatesInBgReachabilityCheck(__weak SUUpdater *updater, id } }; + [self.userDriver showCanCheckForUpdates:NO]; [SUProbeInstallStatus probeInstallerInProgressForHost:self.host completion:^(BOOL success) { dispatch_async(dispatch_get_main_queue(), ^{ SUUpdater *strongSelf = weakSelf; - [strongSelf.userDriver showCanCheckForUpdates:NO]; if (strongSelf != nil) { if (!success) { [strongSelf.driver checkForUpdatesAtAppcastURL:theFeedURL withUserAgent:[strongSelf userAgentString] httpHeaders:[strongSelf httpHeaders] completion:completionBlock];