Merge pull request #3871 from lioncash/semi

readable_event: Remove unnecessary semicolon in Signal()
This commit is contained in:
bunnei 2020-05-02 23:38:36 -04:00 committed by GitHub
commit 8db4feb5b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,10 +24,12 @@ void ReadableEvent::Acquire(Thread* thread) {
} }
void ReadableEvent::Signal() { void ReadableEvent::Signal() {
if (!is_signaled) { if (is_signaled) {
return;
}
is_signaled = true; is_signaled = true;
SynchronizationObject::Signal(); SynchronizationObject::Signal();
};
} }
void ReadableEvent::Clear() { void ReadableEvent::Clear() {