mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-03 11:46:09 +00:00
ClusterFuzz injects errors into the device which may not initialize the resource manager which would later fail upon shutdown. This adds a check to see if the resource manager exists before releasing the pool. BUG=chromium:1117595 Change-Id: Ie2b90f947f3ddd3906ecabc65e959915c1f7e386 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/27040 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com> Commit-Queue: Bryan Bernhart <bryan.bernhart@intel.com>