mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 06:03:34 +00:00
Fix WindowsDebugLogger hang on release builds
Removes ASSERT checking the status of the exit handle so it cannot ever be optimized out. BUG=dawn:592 Change-Id: Ib88a058abd0597668ba3c272cf0e304f4aa19c4e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/34761 Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
3668d352bc
commit
a0ca2cc7ef
@ -89,7 +89,8 @@ namespace utils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mShouldExitHandle != nullptr) {
|
if (mShouldExitHandle != nullptr) {
|
||||||
ASSERT(SetEvent(mShouldExitHandle) != 0);
|
BOOL result = SetEvent(mShouldExitHandle);
|
||||||
|
ASSERT(result != 0);
|
||||||
CloseHandle(mShouldExitHandle);
|
CloseHandle(mShouldExitHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user