mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
do not response send, may fix issue #578
This commit is contained in:
@@ -211,7 +211,8 @@ function suspend(co, result, command, param, size)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local ret
|
local ret
|
||||||
if not dead_service[co_address] then
|
-- do not response when session == 0 (send)
|
||||||
|
if co_session ~= 0 and not dead_service[co_address] then
|
||||||
if ok then
|
if ok then
|
||||||
ret = c.send(co_address, skynet.PTYPE_RESPONSE, co_session, f(...)) ~= nil
|
ret = c.send(co_address, skynet.PTYPE_RESPONSE, co_session, f(...)) ~= nil
|
||||||
if not ret then
|
if not ret then
|
||||||
|
|||||||
Reference in New Issue
Block a user