🐛(agents) fix shutdown exception in metadata extractor

Remove a redundant drain operation causing an exception during the
metadata extractor shutdown.
This commit is contained in:
leo
2026-06-03 18:04:43 +02:00
committed by aleb_the_flash
parent 6ccc9ef0bf
commit 61d0043790
2 changed files with 5 additions and 1 deletions
+5
View File
@@ -8,6 +8,11 @@ and this project adheres to
## [Unreleased]
### Changed
- 🐛(agents) fix bug when closing metadata-collector
## [1.18.0] - 2026-06-03
### Added
-1
View File
@@ -324,7 +324,6 @@ class MetadataCollector:
async def _close_session(self, session: AgentSession) -> None:
"""Close and cleanup VAD monitoring session."""
try:
await session.drain()
await session.aclose()
except Exception:
logger.exception("Error closing session")