- From: Chris Pearce <chris@pearce.org.nz>
- Date: Mon, 02 Aug 2010 13:50:20 +1200
There's a race condition in the media load algorithm. When the resource selection algorithm begins, it sets a task to complete the rest of the resource selection algorithm asynchronously. In the asynchronous task, we set the delaying-the-load-event flag to true at step 4. But between the resource selection algorithm setting the task to asynchronously continue the algorithm, and the task actually running, the load event could fire, before we have a chance to set the delaying-the-load-event flag to true. I suggest we set the delaying-the-load-event flag to true before we set the task to continue the rest of the resource selection algorithm asynchronously. Chris Pearce.
Received on Sunday, 1 August 2010 18:50:20 UTC