Merge pull request #745 from qinhanlei/patch1

remove useless code.
This commit is contained in:
云风
2017-10-07 11:13:27 +08:00
committed by GitHub

View File

@@ -108,14 +108,6 @@ function snax.newservice(name, ...)
return snax.bind(handle, name)
end
local function service_name(global, name, ...)
if global == true then
return name
else
return global
end
end
function snax.uniqueservice(name, ...)
local handle = assert(skynet.call(".service", "lua", "LAUNCH", "snaxd", name, ...))
return snax.bind(handle, name)