Repository navigation
Replay clips: free each clip's memory when its panel closes - #367
Merged
Merged
Conversation
- **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
✅ Deploy Preview for ascoding11 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for cosmic-dasik-e73c56 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
e63334287a3deaa3/replay.js(a cleanup step in the panel), README.no-news).Generated by Claude Code