forked from mirrors/linphone-iphone
Set _chatRoom to NULL when ChatConversationView disappears to avoir keeping invalid references
This commit is contained in:
parent
c3746801ac
commit
d447158a25
1 changed files with 1 additions and 0 deletions
|
|
@ -313,6 +313,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
[NSNotificationCenter.defaultCenter removeObserver:self];
|
||||
PhoneMainView.instance.currentRoom = NULL;
|
||||
[[UIApplication sharedApplication] setIdleTimerDisabled:false];
|
||||
_chatRoom = NULL;
|
||||
}
|
||||
|
||||
- (void)removeCallBacks {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue