mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
add coroutine close for skynetco (#1392)
Co-authored-by: jietao.cjt <jietao.cjt@alibaba-inc.com>
This commit is contained in:
@@ -50,4 +50,5 @@ skynet.start(function()
|
||||
print("main step", f())
|
||||
print("main step", f())
|
||||
-- print("main thread time:", profile.stop())
|
||||
print("close", coroutine.close(coroutine.create(main)))
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user