core is stopped when call is released

This commit is contained in:
Danmei Chen 2021-02-15 20:20:05 +01:00
parent 71a9b8ef41
commit dc60be7eda

View file

@ -356,9 +356,6 @@ import AVFoundation
} catch {
Log.directLog(BCTBX_LOG_ERROR, text: "Failed to terminate call failed because \(error)")
}
if (UIApplication.shared.applicationState == .background) {
CoreManager.instance().stopLinphoneCore()
}
}
@objc func markCallAsDeclined(callId: String) {