AIService: handle StartFrame/EndFrame/CancelFrame exceptions

If AIService subclasses implement start()/stop()/cancel() and exception are not
handled, execution will not continue and therefore the originator frames will
not be pushed. This would cause the pipeline to not be started (i.e. StartFrame
would not be pushed downstream) or stopped properly.
This commit is contained in:
Aleix Conchillo Flaqué
2026-01-19 20:22:53 -08:00
parent f03a7175c7
commit 6cf0d53d00
2 changed files with 23 additions and 4 deletions

1
changelog/3503.fixed.md Normal file
View File

@@ -0,0 +1 @@
- Fixed an issue in `AIService` where unhandled exceptions in `start()`, `stop()`, or `cancel()` implementations would prevent `process_frame()` to continue and therefore `StartFrame`, `EndFrame`, or `CancelFrame` from being pushed downstream, causing the pipeline to not start or stop properly.