diff options
| author | ruki <[email protected]> | 2019-12-14 00:40:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-12-13 22:00:39 +0800 |
| commit | babb970d8ce06e0d93ea9688cfe03e9e3e117804 (patch) | |
| tree | b34b3aa9aa9a6ea7c77e9451ae3275ffd468c147 /tests/modules/socket | |
| parent | 48c503cbca85ecea9e2ef9b5215f2e5c99c8bb24 (diff) | |
fix co_start
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) |
