Skip to content

Commit

Permalink
Fix deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisduerr committed May 30, 2024
1 parent 4509c3d commit 7e4d7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wayland-backend/src/sys/client_impl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7e4d7b9

Please sign in to comment.