diff options
Diffstat (limited to 'tests/modules/socket')
| -rw-r--r-- | tests/modules/socket/sched_tcp/echo_client.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/modules/socket/sched_tcp/echo_client.lua b/tests/modules/socket/sched_tcp/echo_client.lua index f9c993729..77b76a0f3 100644 --- a/tests/modules/socket/sched_tcp/echo_client.lua +++ b/tests/modules/socket/sched_tcp/echo_client.lua @@ -17,6 +17,7 @@ function _session(addr, port) end print("%s: send ok, count: %d!", sock, count) sock:close() + scheduler.stop() end function main(count) |
