mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Reload the table data after clearing the arrays to avoid potential crash due to asynchronous call to reloadData
This commit is contained in:
parent
52ec19a663
commit
191cc5a234
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@
|
|||
[_phoneOrAddr removeAllObjects];
|
||||
[_addressesCached removeAllObjects];
|
||||
[_ldapContactAddressBookMap removeAllObjects];
|
||||
[self.tableView reloadData];
|
||||
|
||||
_reloadMagicSearch = _reloadMagicSearch || [filter length]==0 || ![[MagicSearchSingleton.instance currentFilter] isEqualToString:filter];
|
||||
[MagicSearchSingleton.instance setCurrentFilter:filter];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue