Skip to content

Commit

Permalink
fix: ignore linting rule for Deno.resources() (#4233)
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua authored Jan 25, 2024
1 parent 845a6f8 commit 6a255d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webgpu/_test_util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export function cleanUp(device: GPUDevice) {

// TODO(lucacasonato): webgpu spec should add a explicit destroy method for
// adapters.
// deno-lint-ignore ban-untagged-ignore
// deno-lint-ignore
const resources = Object.keys(Deno.resources());
// @ts-ignore Until WebGPU resources cleanup is automatically handled.
Deno[Deno.internal].core.close(Number(resources[resources.length - 1]));
Expand Down

0 comments on commit 6a255d1

Please sign in to comment.