Did something sensefull

This commit is contained in:
Johannes Wendel
2019-10-30 23:03:52 +01:00
parent a15e7b0d09
commit 25d42fedd0
2 changed files with 2 additions and 8 deletions

View File

@@ -29,7 +29,7 @@ InputSocketHandler::InputSocketHandler(StreamSocket streamSocket, std::shared_pt
void InputSocketHandler::run()
{
while(true)
while(this->socket().poll(100, Poco::Net::Socket::SelectMode::SELECT_ERROR))
{
Event event = this->queue.pop();