diff --git a/wgpu-core/src/device/mod.rs b/wgpu-core/src/device/mod.rs index a88d99cbca..c906e9b44a 100644 --- a/wgpu-core/src/device/mod.rs +++ b/wgpu-core/src/device/mod.rs @@ -4574,6 +4574,7 @@ impl Global { if let Some(cmdbuf) = cmdbuf { let device = &mut device_guard[cmdbuf.device_id.value]; device.untrack::(hub, &cmdbuf.trackers, &mut token); + device.destroy_command_buffer(cmdbuf); } }