diff --git a/src/gallium/frontends/rusticl/core/queue.rs b/src/gallium/frontends/rusticl/core/queue.rs index a73db4f2280..3ec83bcf998 100644 --- a/src/gallium/frontends/rusticl/core/queue.rs +++ b/src/gallium/frontends/rusticl/core/queue.rs @@ -476,10 +476,10 @@ impl Queue { // Waiting on the last event is good enough here as the queue will process it in order // It's not a problem if the weak ref is invalid as that means the work is already done // and waiting isn't necessary anymore. - let err = last.upgrade().map(|e| e.wait()).unwrap_or_default(); - if err < 0 { - return Err(err); - } + // + // We also ignore any error state of events as it's the callers responsibility to check + // for it if it cares. + last.upgrade().map(|e| e.wait()); } Ok(()) }