rt: a retired command buffer drops its fence lists with its other kept objects

This commit is contained in:
Anees Iqbal committed 2026-11-19 07:04:21 -08:00
1 parent 1f0b5c65d2
commit 4ee7d2f850
1 file changed
+2 -1
+2 -1
View File
@@ -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);