--- a/cocoaTouch/TeamSettingsViewController.m Tue Jun 01 19:33:45 2010 +0000
+++ b/cocoaTouch/TeamSettingsViewController.m Wed Jun 02 13:52:23 2010 +0000
@@ -145,12 +145,15 @@
// Releases the view if it doesn't have a superview.
[super didReceiveMemoryWarning];
// Relinquish ownership any cached data, images, etc that aren't in use.
+ if (childController.view.superview == nil )
+ childController = nil;
}
-(void) viewDidUnload {
self.listOfTeams = nil;
childController = nil;
[super viewDidUnload];
+ MSG_DIDUNLOAD();
}
-(void) dealloc {