1
This commit is contained in:
parent
af8b118178
commit
36bf9bbc4c
3
app.go
3
app.go
@ -63,6 +63,8 @@ func (this *app) init(userApp UserApp) {
|
||||
_sysLog.init()
|
||||
_tgLog = new(TGLog_)
|
||||
_tgLog.init()
|
||||
_httpCliMgr = new(HttpCliMgr)
|
||||
_httpCliMgr.init()
|
||||
{
|
||||
var tmpNodeId, tmpInstanceId int
|
||||
flag.IntVar(&tmpNodeId, "n", 0, "node id")
|
||||
@ -86,6 +88,7 @@ func (this *app) init(userApp UserApp) {
|
||||
|
||||
func (this *app) unInit() {
|
||||
this.chGoLoopTimerExit <- 1
|
||||
_httpCliMgr.unInit()
|
||||
_timer.unInit()
|
||||
_timer = nil
|
||||
this.userApp.UnInit()
|
||||
|
@ -201,9 +201,6 @@ func LoadMetaTable(table interface{}) {
|
||||
for i := 0; i < 3; i++ {
|
||||
for ii := 0; ii < ele.NumField(); ii++ {
|
||||
var tbl MetaTable = ele.Field(ii).Interface().(MetaTable)
|
||||
if !tbl.IsNoLoad() {
|
||||
tbl.Load()
|
||||
}
|
||||
tbl.ElementsInit(i)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user