From 0effa0ca57fca36d7abf5592a6879c81166553b1 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Mon, 29 Apr 2024 16:12:49 +0200 Subject: [PATCH] should stop --- example/client.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/client.test.cpp b/example/client.test.cpp index 7034367..da897cc 100644 --- a/example/client.test.cpp +++ b/example/client.test.cpp @@ -11,7 +11,7 @@ int main(int argc, char* argv[]) { client.start(); - while (true) { + while (!client.shouldStop()) { std::string message; std::cin >> message;