From 0e7eba5ae9969c34f2a4374010adf1260a3a080e Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 27 Feb 2016 19:31:53 -0500 Subject: [PATCH] Add note about not dispatching to main queue again --- Sparkle/SUSparkleUserUpdaterDriver.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sparkle/SUSparkleUserUpdaterDriver.m b/Sparkle/SUSparkleUserUpdaterDriver.m index b916c770..8585f45c 100644 --- a/Sparkle/SUSparkleUserUpdaterDriver.m +++ b/Sparkle/SUSparkleUserUpdaterDriver.m @@ -529,6 +529,9 @@ - (void)dismissUpdateInstallation { dispatch_async(dispatch_get_main_queue(), ^{ + // Make sure everything we call here does not dispatch async to main queue + // because we are already on the main queue (and I've been bitten in the past by this before) + [self _invalidateUpdateCheckTimer]; [self cancelCheckForUpdates];