Skip to content

Commit

Permalink
remote map table must not be weak
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwu committed Jan 3, 2013
1 parent c10082a commit 74ac940
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion lualib/skynet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74ac940

Please sign in to comment.