From f4d01835680f3be9e52ebbc4a74f490542759f78 Mon Sep 17 00:00:00 2001 From: Kunal Mohan Date: Tue, 26 May 2020 12:30:28 +0530 Subject: Make WebGPU resource creation fully async Remove some garbage code in adapter id checks Prevent panic during shutdown if using WebGPU --- components/webgpu/identity.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'components/webgpu/identity.rs') diff --git a/components/webgpu/identity.rs b/components/webgpu/identity.rs index 590007dc33f..2b40ff5a9bc 100644 --- a/components/webgpu/identity.rs +++ b/components/webgpu/identity.rs @@ -31,6 +31,7 @@ pub enum WebGPUMsg { FreeSampler(SamplerId), FreeSurface(SurfaceId), FreeShaderModule(ShaderModuleId), + Exit, } #[derive(Debug)] -- cgit v1.2.3