mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 21:36:47 +02:00
add check for NotStarted state in PL queue
This commit is contained in:
parent
320429fd1e
commit
36e2d4fc76
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ void SendQueue::queuePacketList(std::unique_ptr<PacketList> packetList) {
|
||||||
_emptyCondition.notify_one();
|
_emptyCondition.notify_one();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this->thread()->isRunning()) {
|
if (!this->thread()->isRunning() && _state == State::NotStarted) {
|
||||||
this->thread()->start();
|
this->thread()->start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue