mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Fixes #1103, mutex double lock acquisition possible in custom event watcher
This commit is contained in:
@@ -2913,6 +2913,7 @@ impl EventSender {
|
||||
data1: Box::into_raw(event_box) as *mut c_void,
|
||||
data2: ::std::ptr::null_mut(),
|
||||
};
|
||||
drop(cet);
|
||||
|
||||
self.push_event(event)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user