fix crash of iterate

This commit is contained in:
Danmei Chen 2020-03-18 14:50:20 +01:00
parent 16c0b59def
commit 61932234d9

View file

@ -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];
});
}
}