Fixed review comments.

This commit is contained in:
Garegin Harutyunyan
2026-03-23 17:44:48 +04:00
parent 33f042b500
commit c32240e14b
4 changed files with 15 additions and 13 deletions

View File

@@ -207,8 +207,8 @@ class KrispVivaVadAnalyzer(VADAnalyzer):
logger.error(f"Error analyzing audio with Krisp VIVA VAD: {e}", exc_info=True)
return 0.0
def __del__(self):
"""Cleanup when the analyzer is destroyed."""
async def cleanup(self):
"""Cleanup analyzer resources."""
try:
self._session = None
KrispVivaSDKManager.release()