You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(media): cleanup audio resources on sound removal and replacement
- Cleanup old Sound before creating replacement when URL changes
- Remove priority-stopped sounds from map (were leaked indefinitely)
- Use cleanup() instead of stop() in stopSound/stopAllSounds/handleStop
since these paths discard the Sound object entirely
- Fix setTimeout end-timer closure: capture key at schedule time, only
delete from map if the same sound instance is still at that key
- Fix handleLoad variable shadowing bug (inner let shadowed outer)
0 commit comments