dawn-cmake/src/dawn_platform
Jiawei Shao c952097dc6 Remove incorrect ASSERT in ~AsyncWaitableEvent
This patch removes an incorrect ASSERT(IsComplete()) in the
destructor of AsyncWaitableEvent because when the destructor of
AsyncWaitableEvent is called, the async task attached to mFuture
may not be completed and the status of mFuture may not be 'ready'.
In fact in C++14 we can always guarantee the attached async task
is completed after the destruction of mFuture.

BUG=dawn:529

Change-Id: I2f28246beb025a0d39dd432a404c0b04aed17249
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/48900
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
2021-04-27 02:50:46 +00:00
..
tracing Make dawn_platform a component. 2020-11-06 09:02:30 +00:00
BUILD.gn Implement WaitableEvent and WorkerTaskPool for multi-threaded tasks 2021-01-20 08:56:07 +00:00
CMakeLists.txt Implement WaitableEvent and WorkerTaskPool for multi-threaded tasks 2021-01-20 08:56:07 +00:00
DawnPlatform.cpp Implement WaitableEvent and WorkerTaskPool for multi-threaded tasks 2021-01-20 08:56:07 +00:00
WorkerThread.cpp Remove incorrect ASSERT in ~AsyncWaitableEvent 2021-04-27 02:50:46 +00:00
WorkerThread.h Implement WaitableEvent and WorkerTaskPool for multi-threaded tasks 2021-01-20 08:56:07 +00:00