Remove the unused Option around the IpcSender from LayoutToPaintMsg::Exit.

This commit is contained in:
Ms2ger 2015-11-05 15:45:06 +01:00
parent eb44bdb33a
commit a01fd7732d
2 changed files with 3 additions and 3 deletions

View file

@ -740,7 +740,7 @@ impl LayoutTask {
}
let (response_chan, response_port) = ipc::channel().unwrap();
self.paint_chan.send(LayoutToPaintMsg::Exit(Some(response_chan), exit_type)).unwrap();
self.paint_chan.send(LayoutToPaintMsg::Exit(response_chan, exit_type)).unwrap();
response_port.recv().unwrap()
}