Skip to content

Commit

Permalink
remove nilling out of changed idretaintype instances on dealloc
Browse files Browse the repository at this point in the history
  • Loading branch information
ehren authored and Ramu-msft committed May 2, 2016
1 parent f1cd588 commit 1e01b23
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Frameworks/UIKit/UINavigationBar.mm
Original file line number Diff line number Diff line change
Expand Up @@ -568,24 +568,6 @@ - (void)dealloc {
[_curItem _setDelegate:nil];
}

_items = nil;
_font = nil;
_textColor = nil;
_textShadowColor = nil;
_navGradient = nil;
_curItem = nil;
_newItem = nil;
_leftButton = nil;
_rightButton = nil;
_backButton = nil;
_titleView = nil;
_titleLabel = nil;
_titleTextAttributes = nil;
_tintColor = nil;
_barTintColor = nil;
_shadowImage = nil;
_shadowImageView = nil;

[super dealloc];
}

Expand Down

0 comments on commit 1e01b23

Please sign in to comment.