[*] Fuck you

This commit is contained in:
Reece Wilson 2024-06-10 14:08:58 +01:00
parent ee9e318511
commit 7fdcdb7568

View File

@ -316,7 +316,7 @@ namespace Aurora::Utility
void ADestructionWatcher::Unlock() void ADestructionWatcher::Unlock()
{ {
if (AuAtomicSub(&this->pParent->uDtorCalls, 0u) == 0) if (AuAtomicSub(&this->pParent->uDtorCalls, 1u) == 0)
{ {
Aurora::Threading::WakeOnAddress(&this->pParent->uDtorCalls); Aurora::Threading::WakeOnAddress(&this->pParent->uDtorCalls);
} }