-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix races between tasks resolving/rejecting play promises and them be…
…ing added For example, if pause() is called, it creates a task to reject all promises even if there is none around. If play() is called just after, this task would reject the newly created promise. This is fixing the issue by creating tasks rejecting/resolving a given list of promises, copied for the task. Closes #996.
- Loading branch information
1 parent
806bc62
commit 18be384
Showing
1 changed file
with
49 additions
and
35 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