mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-23 17:27:16 +03:00
0e65a4543e
When listening to the same event on the same object from two places, it's important that both listeners get called back. This fixes EventManager's listenOnce() so that the unlisten() call within listenOnce() doesn't remove both listeners at once. Now each listener will be called before it is removed. This bug is over two years old! Change-Id: Id99f3a8e5ab80819921b30e28aa66d8a08b29e86