mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-04 05:42:02 +00:00
The 10-second connection timeout in OpenAIRealtimeSTTSession.doConnect() was never cleared on success or teardown, leaking a timer on every connection and accumulating stale timers across reconnect cycles. Store the timeout handle and clear it in both the open handler and close(), matching the existing clearTimeout pattern in waitForTranscript(). Co-authored-by: Sharoon Sharif <ssharif@Hosanna.local> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>