mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
remove duplicated fileTransferDelegates
This commit is contained in:
parent
7d00b0fcd1
commit
2d0af97d23
1 changed files with 2 additions and 0 deletions
|
|
@ -1365,6 +1365,8 @@ void popup_link_account_cb(LinphoneAccountCreator *creator, LinphoneAccountCreat
|
|||
|
||||
if (theLinphoneCore != nil) { // just in case application terminate before linphone core initialization
|
||||
|
||||
// rare case, remove duplicated fileTransferDelegates to avoid crash
|
||||
[_fileTransferDelegates setArray:[[NSSet setWithArray:_fileTransferDelegates] allObjects]];
|
||||
for (FileTransferDelegate *ftd in _fileTransferDelegates) {
|
||||
[ftd stopAndDestroy];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue