We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08c18e0 commit a9b5a56Copy full SHA for a9b5a56
ucapi/api.py
@@ -620,7 +620,7 @@ async def _run_voice_handler(self, session: VoiceSession) -> None:
620
session.end(VoiceEndReason.ERROR, ex)
621
finally:
622
# Ensure iterator is unblocked and session is cleaned up
623
- await self._cleanup_voice_session(session.session_id)
+ await self._cleanup_voice_session(session.key)
624
625
def _schedule_voice_timeout(self, key: VoiceSessionKey) -> None:
626
"""Schedule the timeout task for a voice session.
0 commit comments