mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Add infinite recursion note for -feedURL
This commit is contained in:
1 parent
d0d39bc623
commit
85914936d7
1 file changed
+1
Vendored
+1
@@ -271,6 +271,7 @@ static NSMutableDictionary *sharedUpdaters = nil;
|
||||
|
||||
- (NSString *)feedURLStringForUpdater:(SPUUpdater *)__unused updater
|
||||
{
|
||||
// Be really careful not to call [self feedURL] here. That might lead us into infinite recursion.
|
||||
NSString *feedURL = nil;
|
||||
if ([self.delegate respondsToSelector:@selector(feedURLStringForUpdater:)]) {
|
||||
feedURL = [self.delegate feedURLStringForUpdater:self];
|
||||
|
||||
Reference in new issue
Block a user