From 36062b718f0051d6f8e76eeba43d50ff93292a37 Mon Sep 17 00:00:00 2001 From: bumpsoo Date: Thu, 5 Feb 2026 13:18:38 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=81=B4=EB=9D=BC=EC=9D=B4=EC=96=B8?= =?UTF-8?q?=ED=8A=B8=20=EA=B0=95=EC=A0=9C=20=EC=A2=85=EB=A3=8C=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC=20=EC=B6=94=EA=B0=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TODO: 서버 비동기 처리? --- client/Client.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/Client.cpp b/client/Client.cpp index b6ce909..b8efb0c 100644 --- a/client/Client.cpp +++ b/client/Client.cpp @@ -74,7 +74,9 @@ void BaseClient::StartReceive() { void BaseClient::StopReceive() { isRunning_ = false; - socket_.close(); + boost::system::error_code ec; + socket_.shutdown(tcp::socket::shutdown_both, ec); + socket_.close(ec); receiveThread_.request_stop(); }