Make EventLoopProxy Sync

Co-authored-by: daxpedda <daxpedda@gmail.com>
Closes: #3448
This commit is contained in:
Mads Marquart 2024-02-01 14:27:44 +01:00 committed by Kirill Chibisov
parent e61a7320a2
commit 31f8b816bd
9 changed files with 26 additions and 13 deletions

View file

@ -532,6 +532,7 @@ pub struct EventLoopProxy<T> {
}
unsafe impl<T: Send> Send for EventLoopProxy<T> {}
unsafe impl<T: Send> Sync for EventLoopProxy<T> {}
impl<T> Drop for EventLoopProxy<T> {
fn drop(&mut self) {