diff --git a/wgpu-core/src/device/queue.rs b/wgpu-core/src/device/queue.rs index ea6b8b286..3be62ef2d 100644 --- a/wgpu-core/src/device/queue.rs +++ b/wgpu-core/src/device/queue.rs @@ -1074,7 +1074,7 @@ impl Global { // This will schedule destruction of all resources that are no longer needed // by the user but used in the command stream, among other things. - let (closures, _) = match device.maintain(hub, wgt::Maintain::Wait, &mut token) { + let (closures, _) = match device.maintain(hub, wgt::Maintain::Poll, &mut token) { Ok(closures) => closures, Err(WaitIdleError::Device(err)) => return Err(QueueSubmitError::Queue(err)), Err(WaitIdleError::StuckGpu) => return Err(QueueSubmitError::StuckGpu),