Skip to content

WebGPU devices are never destroyed? #784

Open
@ben-clayton

Description

@ben-clayton

As far as I can tell, WebGPU devices are never destroyed. There's a TODO in device_pool.ts for destroying a device:

// TODO: device.destroy()

If we're not destroying devices, we're not testing tear-down logic, which seems like a big thing to be missing right now.

It also seems that because we're not destroying the devices, the Device.lost promise will never be resolved or rejected.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions