c952097dc6
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> |
||
---|---|---|
.. | ||
tracing | ||
BUILD.gn | ||
CMakeLists.txt | ||
DawnPlatform.cpp | ||
WorkerThread.cpp | ||
WorkerThread.h |