mirror of
https://github.com/servo/servo.git
synced 2025-09-16 18:08:23 +01:00
add unwrap
to send/recv
calls
This commit is contained in:
parent
3da41c2b16
commit
685fee02a0
30 changed files with 100 additions and 100 deletions
|
@ -675,7 +675,7 @@ unsafe impl Send for GlutinCompositorProxy {}
|
|||
impl CompositorProxy for GlutinCompositorProxy {
|
||||
fn send(&mut self, msg: compositor_task::Msg) {
|
||||
// Send a message and kick the OS event loop awake.
|
||||
self.sender.send(msg);
|
||||
self.sender.send(msg).unwrap();
|
||||
match self.window_proxy {
|
||||
Some(ref window_proxy) => window_proxy.wakeup_event_loop(),
|
||||
None => {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue