diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-10-14 17:42:56 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-10-14 17:42:56 +0000 |
| commit | eb7eaca4448b2cb5e5bf340f356ebfc7b47e532c (patch) | |
| tree | 5fd82968c3e93822783f6daddbc7f1a277434e0c /server | |
| parent | 1e05c7bbf5e2789201e6f6d48fbac78784c3125f (diff) | |
Stop swallowing cancellation in skipFurniture()'s crash guard
Fix 2's runCatching caught Throwable, including CancellationException.
Skipping quickly between episodes cancels PlaybackService's context-load
coroutine mid-read; the swallowed cancellation let that launch carry on
and overwrite the new episode's context with the previous one's midrolls
and skip flag, so the playhead could be moved by the wrong episode's
breaks. Narrowed to an explicit try/catch that rethrows
CancellationException and catches IOException specifically (covers
CorruptionException, a subclass) rather than a generic Exception, with
the exception logged instead of silently discarded -- keeping the
original crash-guard finding intact.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018AwnALZL6bD4VBtATDVv3B
Diffstat (limited to 'server')
0 files changed, 0 insertions, 0 deletions
