In iOS SimpleChatbot demo, call release() when disconnecting the voice client, since we're not using it after disconnecting
This commit is contained in:
@@ -81,6 +81,7 @@ class CallContainerModel: ObservableObject {
|
|||||||
@MainActor
|
@MainActor
|
||||||
func disconnect() {
|
func disconnect() {
|
||||||
self.rtviClientIOS?.disconnect(completion: nil)
|
self.rtviClientIOS?.disconnect(completion: nil)
|
||||||
|
self.rtviClientIOS?.release()
|
||||||
}
|
}
|
||||||
|
|
||||||
func showError(message: String) {
|
func showError(message: String) {
|
||||||
|
|||||||
Reference in New Issue
Block a user