3cd31e647c
There was a data-race between getting and using the pointer to mLastSubmittedCommands in WaitForCommandsToBeScheduled and setting it inside the scheduling handler. Lock the mutex before calling waitUntilScheduled so that the object doesn't get destroyed from underneath us. Bug: chromium:1142024 Change-Id: Iadbf473530342de6d108d39285d723815452ac7c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/31260 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> |
||
---|---|---|
.. | ||
common | ||
dawn | ||
dawn_native | ||
dawn_platform | ||
dawn_wire | ||
fuzzers | ||
include | ||
tests | ||
utils | ||
Dummy.cpp |