From a18282ec79e32812d8d050ddae664052ec81de25 Mon Sep 17 00:00:00 2001 From: Brian Bergstrand Date: Fri, 25 May 2018 13:53:37 -0500 Subject: [PATCH] Deliver SPUDownloaderSession delegate messages on the main queue This is the behavior of SPDownloaderDeprecated. Github #1236 --- Sparkle/SPUDownloaderSession.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sparkle/SPUDownloaderSession.m b/Sparkle/SPUDownloaderSession.m index 4dd0e961..219c4b22 100644 --- a/Sparkle/SPUDownloaderSession.m +++ b/Sparkle/SPUDownloaderSession.m @@ -29,8 +29,7 @@ - (void)startDownloadWithRequest:(SPUURLRequest *)request { - NSOperationQueue *queue = [[NSOperationQueue alloc] init]; - queue.maxConcurrentOperationCount = 1; + NSOperationQueue *queue = [NSOperationQueue mainQueue]; self.downloadSession = [NSURLSession sessionWithConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration] delegate:self