forked from mirrors/linphone-iphone
fix crash of iterate
This commit is contained in:
parent
16c0b59def
commit
61932234d9
1 changed files with 3 additions and 1 deletions
|
|
@ -62,7 +62,9 @@
|
|||
LinphoneCall *call = linphone_core_get_current_call(LC);
|
||||
|
||||
if (!call) {
|
||||
[LinphoneManager.instance stopLinphoneCore];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[LinphoneManager.instance stopLinphoneCore];
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue