Fix potential crash

This commit is contained in:
Christophe Deschamps 2024-10-15 08:29:59 +02:00
parent 9715c98da1
commit 414e0f613d

View file

@ -303,6 +303,7 @@ extension ProviderDelegate: CXProviderDelegate {
if (addr == nil) {
Log.directLog(BCTBX_LOG_ERROR, text: "CallKit: can not call a null address!")
action.fail()
return
}
CallManager.instance().lc?.configureAudioSession()