mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
_atomic_write cleaned up in `except Exception`, which does not catch CancelledError. Stopping a scan mid-download therefore stranded a `.romm_tmp_*` file per cancelled transfer. Catch BaseException instead. This also covers uploads, which have always gone through this path. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YKbk4cDmdKKMcBxGmsRVT5