Monotone-Parent: efd9ade13655768d4cae7605de1142d71a2b3e0c
Monotone-Revision: 5391b9be06e00255b931f3a5c6535e3527ebd405 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-02T02:53:08 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
c7e40104a9
commit
5b5a642ef6
|
@ -1,5 +1,9 @@
|
|||
2008-09-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoObject.m ([SOGoObject
|
||||
-initWithName:_nameinContainer:_container]): we no longer retain
|
||||
the context, to avoid making a circular reference.
|
||||
|
||||
* SoObjects/SOGo/SOGoUser.m ([SOGoUser
|
||||
-initWithLogin:newLoginroles:newRoles]): moved the core from init
|
||||
here.
|
||||
|
|
|
@ -270,7 +270,6 @@ SEL SOGoSelectorForPropertySetter (NSString *property)
|
|||
if ((self = [self init]))
|
||||
{
|
||||
context = [[WOApplication application] context];
|
||||
[context retain];
|
||||
nameInContainer = [_name copy];
|
||||
container = _container;
|
||||
if ([self doesRetainContainer])
|
||||
|
@ -285,7 +284,6 @@ SEL SOGoSelectorForPropertySetter (NSString *property)
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
[context release];
|
||||
[owner release];
|
||||
if ([self doesRetainContainer])
|
||||
[container release];
|
||||
|
@ -402,7 +400,7 @@ SEL SOGoSelectorForPropertySetter (NSString *property)
|
|||
{
|
||||
obj = [[self soClass] lookupKey: lookupName inContext: localContext];
|
||||
if (obj)
|
||||
[obj bindToObject: self inContext: localContext];
|
||||
obj = [obj bindToObject: self inContext: localContext];
|
||||
}
|
||||
|
||||
if (obj)
|
||||
|
|
Loading…
Reference in New Issue