Skip to content

Commit

Permalink
Properly disposing the self.centerView.
Browse files Browse the repository at this point in the history
  • Loading branch information
Inferis committed Feb 2, 2012
1 parent 0c29c8a commit 4e83878
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ViewDeck/IIViewDeckController.m
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,7 @@ - (void)viewDidUnload

_slidingController = nil;
self.referenceView = nil;
[self.centerController.view removeFromSuperview];
[self.leftController.view removeFromSuperview];
[self.rightController.view removeFromSuperview];
self.centerView = nil;

[super viewDidUnload];
}
Expand Down

0 comments on commit 4e83878

Please sign in to comment.