Skip to content

Replay clips: free each clip's memory when its panel closes - #367

Merged
ASCoding11 merged 1 commit into
mainfrom
claude/replay-free-memory
Nov 28, 2026
Merged

ASCoding11 merged 1 commit into
mainfrom
claude/replay-free-memory

Conversation

@ASCoding11

Copy link
Copy Markdown
Owner
  • 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.

Generated by Claude Code

- **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
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ascoding11-github-io with  Cloudflare Pages  Cloudflare Pages

Latest commit: a00caff
Status:⚡️  Build in progress...

View logs

@netlify

netlify Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ascoding11 ready!

Name Link
🔨 Latest commit a00caff
🔍 Latest deploy log https://app.netlify.com/projects/ascoding11/deploys/6b0a45bcb233b94bb89223ea
😎 Deploy Preview https://deploy-preview-367--ascoding11.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@ASCoding11
ASCoding11 merged commit ae0f346 into main Nov 28, 2026
4 of 7 checks passed
@netlify

netlify Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cosmic-dasik-e73c56 ready!

Name Link
🔨 Latest commit a00caff
🔍 Latest deploy log https://app.netlify.com/projects/cosmic-dasik-e73c56/deploys/6b0a45bcb233b94bb89223ef
😎 Deploy Preview https://deploy-preview-367--cosmic-dasik-e73c56.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants