Core: Address Feedback

This commit is contained in:
Fernando Sahmkow
2020-02-13 17:01:44 -04:00
committed by FernandoS27
parent 1e6f8aba04
commit 2bc949628d
6 changed files with 50 additions and 24 deletions

View File

@ -57,7 +57,7 @@ bool ServerSession::IsSignaled() const {
}
// Wait if we have no pending requests, or if we're currently handling a request.
return !(pending_requesting_threads.empty() || currently_handling != nullptr);
return !pending_requesting_threads.empty() && currently_handling == nullptr;
}
void ServerSession::Acquire(Thread* thread) {