Skip to content

Commit

Permalink
添加日志
Browse files Browse the repository at this point in the history
  • Loading branch information
steden committed Jul 19, 2024
1 parent a209766 commit 8c69bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion initialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ func Initialize[TModule modules.FarseerModule](appName string) {
flog.Println("---------------------------------------")
}

isInit = true
// 加载callbackFnList,启动后才执行的模块
if len(callbackFnList) > 0 {
for index, fn := range callbackFnList {
Expand All @@ -106,7 +107,6 @@ func Initialize[TModule modules.FarseerModule](appName string) {
flog.Println("---------------------------------------")
}

isInit = true
}

// 组件日志
Expand Down

0 comments on commit 8c69bba

Please sign in to comment.