Browse Source
stopped flag was set before join() but cleared after, causing race: if thread was still blocked in decodeRead when stopped was reset, onComplete fired anyway. Monotonic playGeneration ++ never decreases, thread captures myGen at start, compares after completion — correctly skipped if generation changed (another stop/seek started).topo_upd
1 changed files with 5 additions and 6 deletions
Loading…
Reference in new issue