修复节点自动升级时无法自动启动的Bug

This commit is contained in:
刘祥超
2022-07-28 14:38:08 +08:00
parent 09390bbb97
commit a3525bdaa4
3 changed files with 26 additions and 18 deletions

View File

@@ -714,6 +714,7 @@ func (this *Node) listenSock() error {
_ = this.sock.Close()
events.Notify(events.EventQuit)
events.Notify(events.EventTerminated)
// 监控连接数如果连接数为0则退出进程
goman.New(func() {