diff --git a/wgpu/backends/wgpu_native/_helpers.py b/wgpu/backends/wgpu_native/_helpers.py index bbe986ab..5e3f05ef 100644 --- a/wgpu/backends/wgpu_native/_helpers.py +++ b/wgpu/backends/wgpu_native/_helpers.py @@ -292,7 +292,6 @@ def __await__(self): # It would also be nice if wait_for_callback and sync_wait() could be merged, # but Python has no wait of combining them. async def wait_for_callback(): - # Set self.event before checking self.result to prevent data race. if self.result is not None: pass elif not self.poll_function: