mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
Make EventLoopProxy Sync
Co-authored-by: daxpedda <daxpedda@gmail.com> Closes: #3448
This commit is contained in:
committed by
Kirill Chibisov
parent
e61a7320a2
commit
31f8b816bd
@@ -229,6 +229,7 @@ pub struct EventLoopProxy<T> {
|
||||
}
|
||||
|
||||
unsafe impl<T: Send> Send for EventLoopProxy<T> {}
|
||||
unsafe impl<T: Send> Sync for EventLoopProxy<T> {}
|
||||
|
||||
impl<T> Clone for EventLoopProxy<T> {
|
||||
fn clone(&self) -> EventLoopProxy<T> {
|
||||
|
||||
Reference in New Issue
Block a user