Remove unsound SendSyncWrapper (#3303)

This commit is contained in:
daxpedda
2023-12-26 20:13:02 +01:00
committed by GitHub
parent ba654bb61e
commit 34e42ff94d
12 changed files with 86 additions and 79 deletions

View File

@@ -60,6 +60,7 @@ impl std::fmt::Debug for VideoMode {
pub struct NativeDisplayMode(pub ffi::CGDisplayModeRef);
unsafe impl Send for NativeDisplayMode {}
unsafe impl Sync for NativeDisplayMode {}
impl Drop for NativeDisplayMode {
fn drop(&mut self) {