This commit is contained in:
ackimixs
2024-05-15 18:38:39 +02:00
parent 11f5fc2ba4
commit 8c95d0d36e

View File

@@ -31,8 +31,8 @@ public:
void start() {
TCPClient::start();
// std::thread t(&GameControllerHandler::handleEvents, this);
// t.detach();
std::thread t(&GameControllerHandler::handleEvents, this);
t.detach();
}
void handleMessage(const std::string &message) override {
@@ -111,6 +111,7 @@ public:
}
usleep(100);
}
usleep(100);
}
}