summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-26 11:44:23 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-26 11:44:23 +0200
commit6e0d2b9a477f1e9f1dec646c0de15440106ed7ed (patch)
treed00229bcee942a80f0eb587fbc2b2405a36ab5d7 /docs
parentab96d5821fe9cda4f31b3389e1c6fb3e6010682d (diff)
downloadmeshbay-6e0d2b9a477f1e9f1dec646c0de15440106ed7ed.tar.gz
fix(music): don't throw "Transport not connected" while a reconnect is landing
Found live: >5min screen lock while music played, then "Transport not connected" at the 2nd track's end (~8min in) despite the auto-reconnect from the previous commit. Root cause: fetchTrackBlob's own `!transport.connected` pre-flight check ran and threw before the already-in-progress reconnect got the few seconds it needed — it never reached _sendAndWait, which is the only place the previous fix taught the transport to wait. Adds transport.waitForReconnect(), factored out of _sendAndWait's existing gate, and calls it from fetchTrackBlob before giving up. No-op when nothing is being reconnected, so the ordinary path is unchanged.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions