mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix crash
This commit is contained in:
parent
84e71bddb0
commit
9ae49edc66
1 changed files with 1 additions and 9 deletions
|
|
@ -88,14 +88,6 @@ import AVFoundation
|
|||
}
|
||||
}
|
||||
|
||||
static func releaseAppData(sCall:Call) {
|
||||
let data = getAppData(sCall: sCall)
|
||||
if (data != nil) {
|
||||
Unmanaged.passRetained(data!).release()
|
||||
sCall.userData = nil
|
||||
}
|
||||
}
|
||||
|
||||
@objc func findCall(callId: String?) -> OpaquePointer? {
|
||||
let call = callByCallId(callId: callId)
|
||||
return call?.getCobject
|
||||
|
|
@ -446,7 +438,7 @@ class CoreManager: CoreDelegate {
|
|||
}
|
||||
break
|
||||
case .Released:
|
||||
CallManager.releaseAppData(sCall: call)
|
||||
call.userData = nil
|
||||
break
|
||||
default:
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue