diff --git a/src/winit_windows.rs b/src/winit_windows.rs index 2cf9076..3eb514d 100644 --- a/src/winit_windows.rs +++ b/src/winit_windows.rs @@ -264,9 +264,3 @@ pub fn get_best_videomode(monitor: &winit::monitor::MonitorHandle) -> winit::mon modes.first().unwrap().clone() } - -// WARNING: this only works under the assumption that wasm runtime is single threaded -#[cfg(target_arch = "wasm32")] -unsafe impl Send for WinitWindows {} -#[cfg(target_arch = "wasm32")] -unsafe impl Sync for WinitWindows {}