mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove the unused Option around the IpcSender from LayoutToPaintMsg::Exit.
This commit is contained in:
parent
eb44bdb33a
commit
a01fd7732d
2 changed files with 3 additions and 3 deletions
|
@ -197,7 +197,7 @@ pub enum Msg {
|
|||
pub enum LayoutToPaintMsg {
|
||||
PaintInit(Epoch, PaintLayer),
|
||||
CanvasLayer(LayerId, IpcSender<CanvasMsg>),
|
||||
Exit(Option<IpcSender<()>>, PipelineExitType),
|
||||
Exit(IpcSender<()>, PipelineExitType),
|
||||
}
|
||||
|
||||
pub enum ChromeToPaintMsg {
|
||||
|
@ -388,7 +388,7 @@ impl<C> PaintTask<C> where C: PaintListener + Send + 'static {
|
|||
self.compositor.notify_paint_task_exiting(self.id);
|
||||
|
||||
debug!("PaintTask: Exiting.");
|
||||
response_channel.as_ref().map(|channel| channel.send(()));
|
||||
let _ = response_channel.send(());
|
||||
break;
|
||||
}
|
||||
Msg::FromChrome(ChromeToPaintMsg::Exit(_)) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue