mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Remove leftover code
This commit is contained in:
parent
7058ed19e5
commit
33f32be35c
@ -94,17 +94,5 @@ private:
|
|||||||
|
|
||||||
this->handle(packet);
|
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();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user