mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
remote map table must not be weak
This commit is contained in:
6
config
6
config
@@ -2,10 +2,10 @@ root = "./"
|
||||
thread = 8
|
||||
logger = nil
|
||||
harbor = 1
|
||||
address = "127.0.0.1:2525"
|
||||
master = "127.0.0.1:2012"
|
||||
address = "127.0.0.1:2526"
|
||||
master = "127.0.0.1:2013"
|
||||
start = "main"
|
||||
standalone = "0.0.0.0:2012"
|
||||
standalone = "0.0.0.0:2013"
|
||||
luaservice = root.."service/?.lua;"..root.."service/?/init.lua"
|
||||
cpath = root.."service/?.so"
|
||||
protopath = root.."proto"
|
||||
|
||||
@@ -357,7 +357,6 @@ do
|
||||
local weak_meta = { __mode = "kv" }
|
||||
local meta = getmetatable(c.unpack(c.pack({ __remote = 0 })))
|
||||
local remote_call_func = setmetatable({}, weak_meta)
|
||||
setmetatable(meta, weak_meta)
|
||||
|
||||
local _send = assert(c.send)
|
||||
local _yield = coroutine.yield
|
||||
|
||||
Reference in New Issue
Block a user