From 26fefc65ae51170fe50c26cb3f642d3b6b2cb393 Mon Sep 17 00:00:00 2001 From: chenyushuo <297086016@qq.com> Date: Wed, 16 Oct 2024 11:11:51 +0800 Subject: [PATCH] fix --- src/agentscope/server/launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agentscope/server/launcher.py b/src/agentscope/server/launcher.py index 476f48fc7..12f6038fe 100644 --- a/src/agentscope/server/launcher.py +++ b/src/agentscope/server/launcher.py @@ -301,11 +301,11 @@ async def shutdown_signal_handler() -> None: start_event.set() if stop_event is not None: stop_event.wait() + shutdown_cpp_server() logger.info( f"CPP agent server [{server_id}] at {host}:{port} " "stopped successfully", ) - shutdown_cpp_server() return servicer = AgentServerServicer(