[*] AND'd waterfall failures

This commit is contained in:
Reece Wilson 2023-09-16 16:54:30 +01:00
parent 9a294cf955
commit 5727acfe55

View File

@ -447,6 +447,10 @@ private:
{ {
bSendSuccess = bool(this->onSuccess.size()) || bForce; 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)) else if (!this->bFailOnAny && ((this->uCountOfComplete + this->uCountOfFailed) == this->uCount))
{ {
bSendSuccess = bool(this->onSuccess.size()) || bForce; bSendSuccess = bool(this->onSuccess.size()) || bForce;