修复BUG
This commit is contained in:
parent
78e31b6c71
commit
1bbc4d9186
|
@ -144,7 +144,7 @@ public:
|
||||||
T take(bool remove = true, void(__stdcall* first)(T) = NULL)
|
T take(bool remove = true, void(__stdcall* first)(T) = NULL)
|
||||||
{
|
{
|
||||||
std::lock_guard<std::mutex> lock(lock_);
|
std::lock_guard<std::mutex> lock(lock_);
|
||||||
TNS t = 0;
|
TNS t;
|
||||||
|
|
||||||
if (queue_.size())
|
if (queue_.size())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue