project_files/HedgewarsMobile/Classes/SingleTeamViewController.m
changeset 3783 8e9daf967406
parent 3697 d5b30d6373fc
child 3789 c3eb56754e92
--- a/project_files/HedgewarsMobile/Classes/SingleTeamViewController.m	Sat Aug 28 05:35:02 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/SingleTeamViewController.m	Sun Aug 29 16:55:27 2010 +0200
@@ -343,7 +343,7 @@
 }
 
 -(void) viewDidUnload {
-    [super viewDidUnload];
+    [[NSNotificationCenter defaultCenter] removeObserver:self];
     self.teamDictionary = nil;
     self.teamName = nil;
     self.normalHogSprite = nil;