mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Fix retain cycle by making these references weak
This commit is contained in:
1 parent
4e8a39267d
commit
615f71474b
1 file changed
+2
-2
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user