Repository navigation
fix: single-flight guard for opening watch; stacked screens never autoplay - #16
Merged
Merged
Conversation
ghostcoder42
force-pushed
the
fix/duplicate-push-freeze
branch
from
September 27, 2026 22:56
6a1ef40 to
ec7e311
Compare
…oplay Reproduced on device: tapping a video card 8 times in a row pushed ~7 copies of the watch screen onto the stack — each mounting its own native player that autoplays as soon as its source resolves (the blur-time pause() predates the source and is a no-op), layering multiple audio streams, and each copy needs its own back press, which reads as "back is dead". - The tap IS the open (router.push is synchronous). A single-flight lock guards only the in-flight window — from push until the pushed screen gains focus, repeat opens of the SAME video are swallowed. No time window: once the screen has focused, the same video can be opened again immediately. - Watch-screen autoplay is gated on focus: a screen stacked under another never starts playing when its source lands late.
ghostcoder42
force-pushed
the
fix/duplicate-push-freeze
branch
from
September 27, 2026 23:56
ec7e311 to
54af02b
Compare
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.
Reproduced on device: tapping a video card 8 times in a row pushed ~7 copies of the watch screen onto the stack — each mounting its own native player that autoplays as soon as its source resolves (the blur-time pause() predates the source and is a no-op), layering multiple audio streams, and each copy needs its own back press, which reads as "back is dead".