From e3795194d679abac3e832df312794a05923aff8c Mon Sep 17 00:00:00 2001 From: Zorg Date: Fri, 20 May 2016 18:26:53 -0400 Subject: [PATCH] Set completion handler to nil when download fails --- AppcastDownloader/SUAppcastDownloader.m | 1 + 1 file changed, 1 insertion(+) diff --git a/AppcastDownloader/SUAppcastDownloader.m b/AppcastDownloader/SUAppcastDownloader.m index ffd77ce5..7eafe604 100644 --- a/AppcastDownloader/SUAppcastDownloader.m +++ b/AppcastDownloader/SUAppcastDownloader.m @@ -71,6 +71,7 @@ { [self cleanup]; self.completionBlock(nil, error); + self.completionBlock = nil; } @end