Unify TickImpl called during Device shutdown.

Bug: dawn:400
Change-Id: I26ad1a739d123ebc81a2e7d309c8a42f517be06c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/22662
Commit-Queue: Natasha Lee <natlee@microsoft.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Natasha Lee
2020-06-10 14:45:20 +00:00
committed by Commit Bot service account
parent 527080ff03
commit 4aca14ccb6
6 changed files with 18 additions and 9 deletions

View File

@@ -185,6 +185,7 @@ namespace dawn_native { namespace null {
}
MaybeError Device::WaitForIdleForDestruction() {
mPendingOperations.clear();
return {};
}