--- a/project_files/HedgewarsMobile/Classes/OverlayViewController.m Mon Oct 31 21:04:18 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/OverlayViewController.m Wed Nov 02 09:24:18 2011 +0100
@@ -204,6 +204,7 @@
[self.popupMenu performSelectorOnMainThread:@selector(dismiss) withObject:nil waitUntilDone:YES];
[self.popoverController performSelectorOnMainThread:@selector(dismissPopoverAnimated:) withObject:nil waitUntilDone:YES];
[self.view performSelectorOnMainThread:@selector(removeFromSuperview) withObject:nil waitUntilDone:YES];
+ [self performSelectorOnMainThread:@selector(release) withObject:nil waitUntilDone:YES];
}
#pragma mark -