fix: 避免阻塞主流程

This commit is contained in:
lixiangwuxian 2025-03-24 23:40:37 +08:00
parent 99ab104312
commit 6dd174d9f1

View File

@ -7,6 +7,7 @@ import (
) )
func init() { func init() {
go func() {
action.ActionManager.SendMsg(model.Reply{ action.ActionManager.SendMsg(model.Reply{
ReplyMsg: "初始化完成", ReplyMsg: "初始化完成",
FromMsg: model.Message{ FromMsg: model.Message{
@ -15,4 +16,5 @@ func init() {
}, },
}, },
}) })
}()
} }