Skip to content

fix: harden minecraft mode#192

Merged
adibarra merged 1 commit intomasterfrom
fix/minecraft-security-hardening
Apr 14, 2026
Merged

fix: harden minecraft mode#192
adibarra merged 1 commit intomasterfrom
fix/minecraft-security-hardening

Conversation

@adibarra
Copy link
Copy Markdown
Contributor

No description provided.

…lures

- Lazy-load MinecraftBackground via client wrapper to exclude YouTube/Three.js from main bundle
- Fix nudge listener leak: store ref and clean up pointerdown/keydown on effect teardown
- Fix stale fetch race: cancelled flag prevents async chain from writing to bufferRef after cleanup
- Wrap YT.Player construction in try/catch for graceful degradation when YouTube is blocked
- Clean up onYouTubeIframeAPIReady on teardown to prevent stale closure chain accumulation
- Use typeof check for YT.Player constructor validation
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
inferencemax-app Ready Ready Preview, Comment Apr 14, 2026 1:43am

Request Review

@adibarra adibarra marked this pull request as ready for review April 14, 2026 01:43
@adibarra adibarra merged commit 56fa9b1 into master Apr 14, 2026
16 checks passed
@adibarra adibarra deleted the fix/minecraft-security-hardening branch April 14, 2026 01:51
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.

1 participant