equal
deleted
inserted
replaced
135 |
135 |
136 -(void) didReceiveMemoryWarning { |
136 -(void) didReceiveMemoryWarning { |
137 // Releases the view if it doesn't have a superview. |
137 // Releases the view if it doesn't have a superview. |
138 [super didReceiveMemoryWarning]; |
138 [super didReceiveMemoryWarning]; |
139 // Release any cached data, images, etc that aren't in use. |
139 // Release any cached data, images, etc that aren't in use. |
|
140 if (mapConfigViewController.view.superview == nil ) |
|
141 mapConfigViewController = nil; |
|
142 if (teamConfigViewController.view.superview == nil) |
|
143 teamConfigViewController = nil; |
|
144 activeController = nil; |
|
145 MSG_MEMCLEAN(); |
140 } |
146 } |
141 |
147 |
142 |
148 |
143 -(void) viewDidUnload { |
149 -(void) viewDidUnload { |
144 NSLog(@"unloading"); |
150 NSLog(@"unloading"); |