mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
fix: ignore linting rule for Deno.resources()
(#4233)
This commit is contained in:
parent
845a6f8d97
commit
6a255d137b
@ -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]));
|
||||
|
Loading…
Reference in New Issue
Block a user