mirror of
https://github.com/samsonjs/media.git
synced 2026-04-16 13:05:46 +00:00
Ensure listener invocations use final state variable.
The MediaControllerImplBase listener invocations currently use the
class member state that can change if one of the listener method
implementations changes the state recursively.
Updating the listener invocations to use a final local variable
ensures all listeners get consistent updates.
PiperOrigin-RevId: 487503373
(cherry picked from commit 33bea391d4)
This commit is contained in:
parent
7f17ff6d00
commit
4296a8af88