Skip to content

Commit a00caff

Browse files
committed
Replay clips: free each clip's memory when its panel closes
- **Fix: replay clips no longer pile up in memory.** Each finished clip (~10 MB) was kept for as long as the game page stayed open, even after its panel closed, so a long session in Slipstream, Boostball or Driftfall grew by roughly that much per match. Closing the panel (or the next clip replacing it) now stops the preview and frees the clip 10 s later. - Files: `e63334287a3deaa3/replay.js` (a cleanup step in the panel), README. - No What's new entry: players won't notice anything except fewer slowdowns in very long sessions (`no-news`). - Tested: after closing the panel, the clip's data is gone; the clip itself is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016ZY4GY6KEVGmw5xYZiPbvp
1 parent 13c5aa1 commit a00caff

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

0 commit comments

Comments
 (0)