mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
monitor中不增加ref
This commit is contained in:
@@ -119,7 +119,6 @@ function datasheet.monitor(source, handle)
|
||||
if t.handle ~= handle then -- already changes
|
||||
skynet.ret(skynet.pack(t.handle))
|
||||
else
|
||||
h.ref = h.ref + 1
|
||||
assert(not t.monitor[source])
|
||||
t.monitor[source]=skynet.response()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user