Remove unsafe Send implementation for GlutinCompositorProxy.

Send is now implemented for glutin::WindowProxy.
This commit is contained in:
Ms2ger 2016-05-20 14:39:42 +02:00
parent 8caaf196e1
commit 4f623dead3

View file

@ -828,9 +828,6 @@ struct GlutinCompositorProxy {
window_proxy: Option<glutin::WindowProxy>,
}
// TODO: Should this be implemented here or upstream in glutin::WindowProxy?
unsafe impl Send for GlutinCompositorProxy {}
impl CompositorProxy for GlutinCompositorProxy {
fn send(&self, msg: compositor_thread::Msg) {
// Send a message and kick the OS event loop awake.