mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Fixed SUStatusChecker--it was broken because I had made SUUpdater a true singleton, so subclasses couldn't even get allocated properly.
This commit is contained in:
1 parent
e90c558717
commit
57af81b3dc
1 file changed
+1
@@ -33,6 +33,7 @@
|
||||
// SUUpdater's a singleton now! And I'm enforcing it!
|
||||
+ (id)allocWithZone:(NSZone *)zone
|
||||
{
|
||||
if ([self class] != [SUUpdater class]) { return [super allocWithZone:zone]; }
|
||||
static SUUpdater *sharedUpdater = nil;
|
||||
if (sharedUpdater == nil)
|
||||
sharedUpdater = [super allocWithZone:zone];
|
||||
|
||||
Reference in new issue
Block a user