mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-08-04 16:55:36 +00:00
Client process worker loop tweak
This commit is contained in:
parent
6c0285bdda
commit
968139022e
@ -57,7 +57,7 @@ void ClientProcess::Worker::proc()
|
||||
while (m_proc.m_running)
|
||||
{
|
||||
std::unique_lock<std::mutex> lk(m_proc.m_mutex);
|
||||
if (m_proc.m_pendingQueue.size())
|
||||
while (m_proc.m_pendingQueue.size())
|
||||
{
|
||||
std::unique_ptr<Transaction> trans = std::move(m_proc.m_pendingQueue.front());
|
||||
m_proc.m_pendingQueue.pop_front();
|
||||
|
Loading…
x
Reference in New Issue
Block a user