mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-10 04:20:27 +08:00
程序延时100ms退出
This commit is contained in:
@@ -759,6 +759,7 @@ func (this *Node) listenSock() error {
|
|||||||
|
|
||||||
// 退出主进程
|
// 退出主进程
|
||||||
events.Notify(events.EventQuit)
|
events.Notify(events.EventQuit)
|
||||||
|
time.Sleep(100 * time.Millisecond)
|
||||||
utils.Exit()
|
utils.Exit()
|
||||||
case "quit":
|
case "quit":
|
||||||
_ = cmd.ReplyOk()
|
_ = cmd.ReplyOk()
|
||||||
|
|||||||
Reference in New Issue
Block a user