mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Terminate poster frame load blocker before blocking again
This commit is contained in:
parent
fde7d4589f
commit
7633cab63a
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,7 @@ impl HTMLVideoElement {
|
|||
// (which triggers no media load algorithm unless a explicit call to .load() is done)
|
||||
// will block the document's load event forever.
|
||||
let mut blocker = self.load_blocker.borrow_mut();
|
||||
LoadBlocker::terminate(&mut *blocker);
|
||||
*blocker = Some(LoadBlocker::new(
|
||||
&document_from_node(self),
|
||||
LoadType::Image(poster_url.clone()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue