parent
7daf146801
commit
44af4f4f52
5 changed files with 12 additions and 11 deletions
|
|
@ -120,7 +120,7 @@ unsafe impl<T> Sync for Proxy<T> {}
|
|||
impl<T> Proxy<T> {
|
||||
fn new(sender: mpsc::Sender<T>) -> Self {
|
||||
unsafe {
|
||||
// just wakeup the eventloop
|
||||
// just wake up the eventloop
|
||||
extern "C" fn event_loop_proxy_handler(_: *mut c_void) {}
|
||||
|
||||
// adding a Source to the main CFRunLoop lets us wake it up and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue