From 4ee7d2f85080e3c05a4f9d7a067b8a3a5fb01fdc Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Thu, 19 Nov 2026 06:25:32 -0800 Subject: [PATCH] rt: a retired command buffer drops its fence lists with its other kept objects --- crates/metal2vulkan-rt/src/command.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/metal2vulkan-rt/src/command.rs b/crates/metal2vulkan-rt/src/command.rs index ba4a0902c..92db202b1 100644 --- a/crates/metal2vulkan-rt/src/command.rs +++ b/crates/metal2vulkan-rt/src/command.rs @@ -1469,6 +1469,7 @@ pub(crate) fn retire( ring, managed: _, images, + fences, } = gpu; if let Some(recorder) = recorder { core.recorders.give_back(core, recorder); @@ -1477,7 +1478,7 @@ pub(crate) fn retire( copy_in.retire(core); } ring.give_back(core); - drop((blocks, images)); + drop((blocks, images, fences)); kept.clear(); if let Some(pair) = stamps { times::reset(&core.device, pair.pool, pair.first, written);