shouldd stop

This commit is contained in:
ackimixs
2024-04-11 18:05:37 +02:00
parent 054be2f8bb
commit 25a91ba5c9
2 changed files with 5 additions and 0 deletions

View File

@@ -46,3 +46,7 @@ int main(int argc, char* argv[]) {
return 0;
}
bool TCPClient::shouldStop() const {
return !running;
}

View File

@@ -32,4 +32,5 @@ public:
virtual void handleMessage(const std::string& message);
bool shouldStop() const;
};