mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43: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
|
if t.handle ~= handle then -- already changes
|
||||||
skynet.ret(skynet.pack(t.handle))
|
skynet.ret(skynet.pack(t.handle))
|
||||||
else
|
else
|
||||||
h.ref = h.ref + 1
|
|
||||||
assert(not t.monitor[source])
|
assert(not t.monitor[source])
|
||||||
t.monitor[source]=skynet.response()
|
t.monitor[source]=skynet.response()
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user