mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-16 01:56:09 +00:00
Async functions should fail by rejecting the callback instead of generating a device error. This fixes a leak in the wire where the allocation for the callback was never delete since it was never called. Fixed: chromium:1181627 Change-Id: I840073c1d1b5f1401aa8ed29d3c8f0e1e4fefd35 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/42540 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>