diff --git a/crates/metal2vulkan-runtime/src/tests/host_ram_device.rs b/crates/metal2vulkan-runtime/src/tests/host_ram_device.rs index e39504239..a45f70a0e 100644 --- a/crates/metal2vulkan-runtime/src/tests/host_ram_device.rs +++ b/crates/metal2vulkan-runtime/src/tests/host_ram_device.rs @@ -680,8 +680,14 @@ impl AtTheMargin { /// Let go of the RAM's use, the objects first: its keep-alive goes after the last chunk. fn let_go(self, objects: Vec) { - let dropped = Arc::clone(&self.dropped); - drop((objects, self)); + let AtTheMargin { + opener, + used, + ram, + dropped, + .. + } = self; + drop((objects, opener, used, ram)); assert!( settles(&dropped), "the keep-alive goes after the last chunk"