mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-18 16:37:29 +01:00
try catch
This commit is contained in:
@@ -927,7 +927,11 @@ void TCPServer::handleEmergency(int distance, double angle) {
|
|||||||
awaitRobotIdle();*/
|
awaitRobotIdle();*/
|
||||||
}
|
}
|
||||||
|
|
||||||
this->gameThread.~thread();
|
try {
|
||||||
|
this->gameThread.~thread();
|
||||||
|
} catch (const std::exception& ex) {
|
||||||
|
std::cout << ex.what() << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
this->gameStarted = false;
|
this->gameStarted = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user