程序延时100ms退出

This commit is contained in:
刘祥超
2022-09-26 16:27:51 +08:00
parent 0374ccd8a8
commit 4053f1da32

View File

@@ -759,6 +759,7 @@ func (this *Node) listenSock() error {
// 退出主进程
events.Notify(events.EventQuit)
time.Sleep(100 * time.Millisecond)
utils.Exit()
case "quit":
_ = cmd.ReplyOk()