diff --git a/src/client/windows/handler/exception_handler.cc b/src/client/windows/handler/exception_handler.cc index c42718cb..ef736f31 100644 --- a/src/client/windows/handler/exception_handler.cc +++ b/src/client/windows/handler/exception_handler.cc @@ -388,7 +388,7 @@ DWORD ExceptionHandler::ExceptionHandlerThreadMain(void* lpParameter) { assert(self->handler_start_semaphore_ != NULL); assert(self->handler_finish_semaphore_ != NULL); - while (true) { + for(;;) { if (WaitForSingleObject(self->handler_start_semaphore_, INFINITE) == WAIT_OBJECT_0) { // Perform the requested action.