mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
Bump sctk-adwaita to 0.4.1
This should force the use of system libraries for Fontconfig and freetype instead of building them with cmake if missing. This also fixes compilation failures on nightly. Fixes #2373.
This commit is contained in:
@@ -210,7 +210,7 @@ impl<T> EventLoop<T> {
|
||||
// A bit of juggling with the callback references to make sure
|
||||
// that `self.callback` is the only owner of the callback.
|
||||
let weak_cb: Weak<_> = Rc::downgrade(&callback);
|
||||
mem::drop(callback);
|
||||
drop(callback);
|
||||
|
||||
AppState::set_callback(weak_cb, Rc::clone(&self.window_target));
|
||||
let _: () = msg_send![app, run];
|
||||
|
||||
Reference in New Issue
Block a user