Event: Fix implementation of "non-sticky" events.

pull/8/head
bunnei 10 years ago
parent 9e6ec3b6cd
commit 69c5830ef2

@ -33,6 +33,10 @@ public:
}
ResultVal<bool> Acquire() override {
// Release the event if it's not sticky...
if (reset_type != RESETTYPE_STICKY)
signaled = false;
return MakeResult<bool>(true);
}
};

Loading…
Cancel
Save