Author: torehalset
Date: Wed Aug 30 15:22:26 2006
New Revision: 438677
URL: http://svn.apache.org/viewvc?rev=438677&view=rev
Log:
better dealloc
Modified:
incubator/cayenne/sandbox/CocoaCayenne/CAYClient/AppController.m
Modified: incubator/cayenne/sandbox/CocoaCayenne/CAYClient/AppController.m
URL:
http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CAYClient/AppController.m?rev=438677&r1=438676&r2=438677&view=diff
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CAYClient/AppController.m (original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CAYClient/AppController.m Wed Aug 30
15:22:26 2006
@@ -80,7 +80,7 @@
-(void)dealloc
{
- [objectContext release];
+ [self setObjectContext:nil];
[super dealloc];
}