From 36e2d4fc76f201c315df315f60fd50689b6a3baa Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 17 Sep 2015 14:16:03 -0700 Subject: [PATCH] add check for NotStarted state in PL queue --- libraries/networking/src/udt/SendQueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/networking/src/udt/SendQueue.cpp b/libraries/networking/src/udt/SendQueue.cpp index 31c2f41259..ac6c8238e8 100644 --- a/libraries/networking/src/udt/SendQueue.cpp +++ b/libraries/networking/src/udt/SendQueue.cpp @@ -138,7 +138,7 @@ void SendQueue::queuePacketList(std::unique_ptr packetList) { _emptyCondition.notify_one(); } - if (!this->thread()->isRunning()) { + if (!this->thread()->isRunning() && _state == State::NotStarted) { this->thread()->start(); } }