Skip to content

Commit

Permalink
add try-catch block for removeKeyValueObserver
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomo Matsumoto committed Aug 31, 2015
1 parent 8bc9753 commit 0540a7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CTAssetsPickerController/CTAssetsPickerController.m
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ - (void)viewDidLoad

- (void)dealloc
{
@try{
[self removeKeyValueObserver];
}@catch(id anException){
}
}

- (UIViewController *)childViewControllerForStatusBarStyle
Expand Down

0 comments on commit 0540a7a

Please sign in to comment.