mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
fork may not execute when the service exit, and __gc would send message release without monitor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user