forked from shaka-project/shaka-player
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix EventManager listenOnce with multiple listeners
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
- Loading branch information
1 parent
91c57e1
commit 0e65a45
Showing
2 changed files
with
122 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters