程序延时100ms退出

This commit is contained in:
GoEdgeLab
2022-09-26 16:27:51 +08:00
parent 4e1cb0a8c3
commit cdca153827

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()