优化节点进程退出逻辑

This commit is contained in:
刘祥超
2022-09-02 16:12:58 +08:00
parent 3cb69f4c71
commit ef90dce29b
7 changed files with 53 additions and 32 deletions

View File

@@ -894,7 +894,7 @@ func (this *Node) listenSock() error {
})
events.OnKey(events.EventQuit, this, func() {
logs.Println("NODE", "quit unix sock")
remotelogs.Println("NODE", "quit unix sock")
_ = this.sock.Close()
})