fix debug console command : kill

This commit is contained in:
Cloud Wu
2020-10-14 16:24:04 +08:00
parent b6354a0490
commit 55f207c1d2
3 changed files with 2 additions and 3 deletions

View File

@@ -52,7 +52,6 @@ function command.STAT(addr, ti)
end
function command.KILL(_, handle)
handle = handle_to_address(handle)
skynet.kill(handle)
local ret = { [skynet.address(handle)] = tostring(services[handle]) }
services[handle] = nil