chore: fix nightly CI on linux/ios

Co-authored-by: Mads Marquart <mads@marquart.dk>
This commit is contained in:
Kirill Chibisov 2024-09-23 22:26:21 +03:00 committed by GitHub
parent 8ddd10a7f9
commit a18658284c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -80,9 +80,7 @@ pub type XWindow = u32;
#[inline]
pub fn register_xlib_error_hook(hook: XlibErrorHook) {
// Append new hook.
unsafe {
crate::platform_impl::XLIB_ERROR_HOOKS.lock().unwrap().push(hook);
}
crate::platform_impl::XLIB_ERROR_HOOKS.lock().unwrap().push(hook);
}
/// Additional methods on [`ActiveEventLoop`] that are specific to X11.