Use reference-counting for listeners from MediaSourceEventDispatcher
Previously calling removeListener would remove all instances of that listener. Now it only removes a single instance. This probably should have been part of introducing the Multiset: https://github.com/google/ExoPlayer/commit/2bd4d61b9b8c838fb7dc81e7d6f513c4a4e00c76 PiperOrigin-RevId: 301191940
Showing
with
26 additions
and
0 deletions
Please
register
or
sign in
to comment