Skip to content

Commit c4c429b

Browse files
committed
1 parent 21f8819 commit c4c429b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

3rd/jemalloc

Submodule jemalloc updated 291 files

service/cslave.lua

+4-1
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,11 @@ skynet.start(function()
260260
end
261261
end)
262262
skynet.wait()
263+
socket.close(slave_fd)
264+
else
265+
-- slave_fd does not start, so use close_fd.
266+
socket.close_fd(slave_fd)
263267
end
264-
socket.close(slave_fd)
265268
skynet.error("Shakehand ready")
266269
skynet.fork(ready)
267270
end)

0 commit comments

Comments
 (0)