diff --git a/wayland-backend/src/sys/client_impl/mod.rs b/wayland-backend/src/sys/client_impl/mod.rs index 2e7cb451793..bf25662b559 100644 --- a/wayland-backend/src/sys/client_impl/mod.rs +++ b/wayland-backend/src/sys/client_impl/mod.rs @@ -689,8 +689,8 @@ impl InnerBackend { } // initialize the proxy + drop(guard); let child_id = if let Some((child_interface, _)) = child_spec { - drop(guard); unsafe { self.manage_object(child_interface, ret, data) } } else { Self::null_id()