From 5727acfe551b3949fa0a68b32d22b6464994c418 Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Sat, 16 Sep 2023 16:54:30 +0100 Subject: [PATCH] [*] AND'd waterfall failures --- Include/Aurora/Async/AuFutures.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Include/Aurora/Async/AuFutures.hpp b/Include/Aurora/Async/AuFutures.hpp index 825570fe..fa3d7035 100644 --- a/Include/Aurora/Async/AuFutures.hpp +++ b/Include/Aurora/Async/AuFutures.hpp @@ -447,6 +447,10 @@ private: { bSendSuccess = bool(this->onSuccess.size()) || bForce; } + else if (!this->bFailOnAny && (this->uCountOfFailed == this->uCount)) + { + bSendFail = bool(this->onFailure.size()) || bForce; + } else if (!this->bFailOnAny && ((this->uCountOfComplete + this->uCountOfFailed) == this->uCount)) { bSendSuccess = bool(this->onSuccess.size()) || bForce;