diff --git a/Linphone/TelecomManager/TelecomManager.swift b/Linphone/TelecomManager/TelecomManager.swift index 07d8bf615..3c44bb469 100644 --- a/Linphone/TelecomManager/TelecomManager.swift +++ b/Linphone/TelecomManager/TelecomManager.swift @@ -342,11 +342,13 @@ class TelecomManager: ObservableObject { } func terminateCall(call: Call) { - do { - try call.terminate() - Log.info("Call terminated") - } catch { - Log.error("Failed to terminate call failed because \(error)") + CoreContext.shared.doOnCoreQueue { _ in + do { + try call.terminate() + Log.info("Call terminated") + } catch { + Log.error("Failed to terminate call failed because \(error)") + } } }