Fix crash when navigating too quickly in double screened views on IPAD

This commit is contained in:
REIS Benjamin 2016-10-21 11:17:01 +02:00
parent 44e9462dba
commit e6c1496d3f
2 changed files with 5 additions and 0 deletions

View file

@ -43,6 +43,7 @@
[super viewWillDisappear:animated];
[NSNotificationCenter.defaultCenter removeObserver:self name:kLinphoneMessageReceived object:nil];
self.view = NULL;
}
#pragma mark - Event Functions

View file

@ -63,6 +63,10 @@ static UICompositeViewDescription *compositeDescription = nil;
[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneCallUpdate object:self];
}
- (void) viewWillDisappear:(BOOL)animated {
self.view = NULL;
}
#pragma mark -
- (void)changeView:(HistoryView)view {