diff --git a/Include/Aurora/Threading/Waitables/FutexCondWaitable.hpp b/Include/Aurora/Threading/Waitables/FutexCondWaitable.hpp index 943527c9..61369837 100644 --- a/Include/Aurora/Threading/Waitables/FutexCondWaitable.hpp +++ b/Include/Aurora/Threading/Waitables/FutexCondWaitable.hpp @@ -30,7 +30,7 @@ namespace Aurora::Threading::Waitables } auto bSuccess = this->TryLock2() || - this->SleepOne(Time::SteadyClockNS() + uRelativeNanoseconds); + this->SleepOne(uRelativeNanoseconds ? Time::SteadyClockNS() + uRelativeNanoseconds : 0); if (!bSuccess) {