diff --git a/src/platform/with_eagl/native_gl_context.rs b/src/platform/with_eagl/native_gl_context.rs index 81362047..260ba441 100644 --- a/src/platform/with_eagl/native_gl_context.rs +++ b/src/platform/with_eagl/native_gl_context.rs @@ -34,7 +34,7 @@ impl NativeGLContext { impl Drop for NativeGLContext { fn drop(&mut self) { unsafe { - msg_send![self.0, release]; + let () = msg_send![self.0, release]; } } }