mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
Merge branch 'master' into dev
This commit is contained in:
@@ -144,7 +144,8 @@ function suspend(co, result, command, param, size)
|
||||
if not result then
|
||||
local session = session_coroutine_id[co]
|
||||
local addr = session_coroutine_address[co]
|
||||
if session then
|
||||
if session ~= 0 then
|
||||
-- only call response error
|
||||
c.send(addr, skynet.PTYPE_ERROR, session, "")
|
||||
end
|
||||
session_coroutine_id[co] = nil
|
||||
|
||||
Reference in New Issue
Block a user