monitor中不增加ref

This commit is contained in:
hong
2018-02-05 10:18:35 +08:00
committed by GitHub
parent 2dd5a06616
commit ab13305b64

View File

@@ -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