mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
add message log
This commit is contained in:
@@ -523,12 +523,7 @@ local function dispatch_message(...)
|
||||
end
|
||||
|
||||
function skynet.newservice(name, ...)
|
||||
local handle = skynet.tostring(skynet.rawcall(".launcher", "lua" , skynet.pack("LAUNCH", "snlua", name, ...)))
|
||||
if handle == "" then
|
||||
return nil
|
||||
else
|
||||
return string_to_handle(handle)
|
||||
end
|
||||
return skynet.call(".launcher", "lua" , "LAUNCH", "snlua", name, ...)
|
||||
end
|
||||
|
||||
function skynet.uniqueservice(global, ...)
|
||||
|
||||
Reference in New Issue
Block a user