Fix retain cycle by making these references weak

This commit is contained in:
Zorg committed 2016-03-20 13:16:36 -04:00
1 parent 4e8a39267d
commit 615f71474b
1 file changed
+2 -2
+2 -2
View File
@@ -32,8 +32,8 @@ NS_ASSUME_NONNULL_BEGIN
- (void)checkForUpdatesAtAppcastURL:(NSURL *)appcastURL withUserAgent:(NSString *)userAgent httpHeaders:(NSDictionary *)httpHeaders includesSkippedUpdates:(BOOL)includesSkippedUpdates completion:(void (^)(void))completionBlock;
@property (nonatomic, readonly) SUHost *host;
@property (nonatomic, readonly) id updater; // if we didn't have legacy support, I'd remove this..
@property (nullable, nonatomic, readonly) id <SUUpdaterDelegate>updaterDelegate;
@property (nonatomic, readonly, weak) id updater; // if we didn't have legacy support, I'd remove this..
@property (nullable, nonatomic, readonly, weak) id <SUUpdaterDelegate>updaterDelegate;
@property (nonatomic, readonly) NSString *userAgent;
@property (nullable, nonatomic, readonly) SUAppcastItem *nonDeltaUpdateItem;