fork may not execute when the service exit, and __gc would send message release without monitor
@@ -32,7 +32,7 @@ local function updateobject(name)
core.update(t.object, newhandle)
t.handle = newhandle
skynet.send(datasheet_svr, "lua", "release", handle)
- skynet.fork(monitor)
+ return monitor()
end
skynet.fork(monitor)
end
