mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix crash enterforeground with VFS enabled
This commit is contained in:
parent
b627c87d21
commit
600fdc1eda
2 changed files with 2 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ static const int BASIC_EVENT_LIST=15;
|
|||
}
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didEndDisplayingCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath*)indexPath {
|
||||
if ([[cell reuseIdentifier] isEqualToString:@"UIChatBubblePhotoCell"]) {
|
||||
if (!_chatRoom && [[cell reuseIdentifier] isEqualToString:@"UIChatBubblePhotoCell"]) {
|
||||
[(UIChatBubbleTextCell *)cell clearEncryptedFiles];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@
|
|||
if (PhoneMainView.instance.currentView == ChatConversationView.compositeViewDescription) {
|
||||
ChatConversationView *view = VIEW(ChatConversationView);
|
||||
[view removeCallBacks];
|
||||
[view.tableController setChatRoom:NULL];
|
||||
} else if (PhoneMainView.instance.currentView == ChatConversationInfoView.compositeViewDescription) {
|
||||
ChatConversationInfoView *view = VIEW(ChatConversationInfoView);
|
||||
[view removeCallbacks];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue