Adressed review comments

This commit is contained in:
B3n30 2018-10-08 23:28:54 +02:00
parent 7efe60ed23
commit ad8b9c0429
3 changed files with 11 additions and 12 deletions

View file

@ -106,10 +106,7 @@ void RPCServer::HandleRequestsLoop() {
LOG_INFO(RPC_Server, "Request handler started.");
while (request_queue.PopWait(request_packet)) {
if (!request_packet) {
break;
}
while ((request_packet = request_queue.PopWait())) {
HandleSingleRequest(std::move(request_packet));
}
}