In iOS SimpleChatbot demo, call release() when disconnecting the voice client, since we're not using it after disconnecting

This commit is contained in:
Paul Kompfner
2025-01-16 10:30:06 -05:00
parent b8ffd7b16b
commit 1e7e307f69

View File

@@ -81,6 +81,7 @@ class CallContainerModel: ObservableObject {
@MainActor
func disconnect() {
self.rtviClientIOS?.disconnect(completion: nil)
self.rtviClientIOS?.release()
}
func showError(message: String) {