diff --git a/src/utils/WindowsDebugLogger.cpp b/src/utils/WindowsDebugLogger.cpp index 0383e0a0d0..76c9faa81a 100644 --- a/src/utils/WindowsDebugLogger.cpp +++ b/src/utils/WindowsDebugLogger.cpp @@ -83,7 +83,7 @@ namespace utils { ~WindowsDebugLogger() override { if (mShouldExitHandle != nullptr) { - ASSERT(SetEvent(mShouldExitHandle)); + ASSERT(SetEvent(mShouldExitHandle) != 0); CloseHandle(mShouldExitHandle); }