Remove leftover code

This commit is contained in:
momo5502 2021-02-26 16:54:05 +01:00
parent 7058ed19e5
commit 33f32be35c

View File

@ -94,17 +94,5 @@ private:
this->handle(packet);
}
this->in_queue_.access_with_lock([&](data_queue& queue, auto& lock)
{
while (!this->in_queue_.get_raw().empty())
{
auto data = std::move(queue.front());
queue.pop();
lock.unlock();
this->handle(data);
lock.lock();
}
});
}
};