if (self->subcomponentInfos == nil)
self->subcomponentInfos = [[NSMutableArray alloc] initWithCapacity:16];
[self->subcomponentInfos addObject:info];
- RELEASE(info);
+ [info release]; info = nil;
}
- (NSArray *)subcomponentInfos {
self->context = _ctx;
}
- (WOContext *)context {
- if (self->context)
+ if (self->context != nil)
return self->context;
[self debugWithFormat:
[self errorWithFormat:@"aborting, because ctx is missing !"];
abort();
}
-
+
if (self->application == nil)
self->application = [WOApplication application];
[self _setContext:[self->application context]];
response =[app handleSessionRestorationErrorInContext:context];
}
else { /* app refuses new sessions */
+ // TODO: this already failed once, will it return null again?
[self logWithFormat:@"app is refusing new sessions ..."];
response = [app handleSessionRestorationErrorInContext:context];
}