mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Track rerender msgs
If the compositor outputs to a file: * Track rerender msgs sent from the compositor to the render tasks. * Before outputting, wait until all rerender msgs are processed by the render tasks. Fixes issue https://github.com/servo/servo/issues/2871.
This commit is contained in:
parent
5ed95e410b
commit
8fd5739afc
5 changed files with 55 additions and 6 deletions
|
@ -242,6 +242,7 @@ impl<C:RenderListener + Send> RenderTask<C> {
|
|||
debug!("render_task: render ready msg");
|
||||
let ConstellationChan(ref mut c) = self.constellation_chan;
|
||||
c.send(RendererReadyMsg(self.id));
|
||||
self.compositor.rerendermsg_discarded();
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue