Skip to content

Commit e6c5ee9

Browse files
greggmankainino0x
andauthored
Catch unexpected WebGPU errors. (#4475)
* Catch unexpected WebGPU errors. A recent change accidentally stopped catching unexpected WebGPU errors. Co-authored-by: Kai Ninomiya <[email protected]>
1 parent 494e318 commit e6c5ee9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/webgpu/util/device_pool.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ export class DevicePool {
129129
await attemptGarbageCollection();
130130
}
131131
}
132+
133+
throw ex;
132134
} finally {
133135
const deviceDueForReplacement =
134136
holder.testCaseUseCounter >= globalTestConfig.casesBetweenReplacingDevice;

0 commit comments

Comments
 (0)