Add note about not dispatching to main queue again

This commit is contained in:
Zorg committed 2016-02-27 19:31:53 -05:00
1 parent aee0b6f7d8
commit 0e7eba5ae9
1 file changed
+3
+3
View File
@@ -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];