Files
openclaw/extensions/google
wanyongstar 8f59226bc9 fix(xai): report lazy voice bridge connect failure as a terminal error (#123064)
* fix(xai): report lazy voice bridge connect failure as terminal error

When the loaded realtime voice bridge's connect() rejected, the lazy
wrapper marked the generation terminal internally but never called
req.onClose and never closed the loaded bridge, leaking it and leaving
callers without a terminal outcome. Mirror the queued-flush failure
path: emit a terminal "error" and close the loaded bridge before
propagating the rejection.

* fix: harden realtime voice connection lifecycle

---------

Co-authored-by: Altay <altay@hey.com>
2026-08-15 20:56:11 +03:00
..