diff --git a/wgpu/backends/rs.py b/wgpu/backends/rs.py index 9e69178b..f2c6276f 100644 --- a/wgpu/backends/rs.py +++ b/wgpu/backends/rs.py @@ -2307,7 +2307,7 @@ def end(self): def _destroy(self): if self._internal is not None and lib is not None: self._internal, internal = None, self._internal - lib.wgpuComputePassEncoderRelease(internal) + internal # panics: lib.wgpuComputePassEncoderRelease(internal) class GPURenderPassEncoder( @@ -2369,7 +2369,7 @@ def end_occlusion_query(self): def _destroy(self): if self._internal is not None and lib is not None: self._internal, internal = None, self._internal - lib.wgpuRenderPassEncoderRelease(internal) + internal # panics: lib.wgpuRenderPassEncoderRelease(internal) class GPURenderBundleEncoder(