mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
Fix crash : do not remove deallocated observer
This commit is contained in:
parent
68b319527f
commit
e35415efc1
1 changed files with 3 additions and 1 deletions
|
|
@ -222,7 +222,9 @@
|
|||
}
|
||||
|
||||
- (void)viewWillDisappear:(BOOL)animated {
|
||||
[_tableController.tableView removeObserver:self forKeyPath:@"contentSize"];
|
||||
if (_tableController && _tableController.tableView && [_tableController.tableView observationInfo]) {
|
||||
[_tableController.tableView removeObserver:self forKeyPath:@"contentSize"];
|
||||
}
|
||||
[super viewWillDisappear:animated];
|
||||
PhoneMainView.instance.currentName = NULL;
|
||||
if (self.tmpContact) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue