84dc28cf77
decodeSource.onerror terminated the history worker but never called flushLiveBuffer(), leaving historySettled=false and the "Loading decode history…" overlay stuck on screen when trx-client breaks. Call flushLiveBuffer() in the error path so the overlay is dismissed and the powerHint connection-lost message is visible to the user. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>