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:
andym committed 2007-12-30 14:51:17 +00:00
1 parent e90c558717
commit 57af81b3dc
1 file changed
+1
+1
View File
@@ -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];