forked from mirrors/linphone-iphone
Fix crash when navigating too quickly in double screened views on IPAD
This commit is contained in:
parent
44e9462dba
commit
e6c1496d3f
2 changed files with 5 additions and 0 deletions
|
|
@ -43,6 +43,7 @@
|
|||
[super viewWillDisappear:animated];
|
||||
|
||||
[NSNotificationCenter.defaultCenter removeObserver:self name:kLinphoneMessageReceived object:nil];
|
||||
self.view = NULL;
|
||||
}
|
||||
|
||||
#pragma mark - Event Functions
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue