1
This commit is contained in:
parent
86ccb185b4
commit
db269c8df5
8
app.go
8
app.go
@ -64,8 +64,12 @@ func (this *app) init(userApp UserApp) {
|
|||||||
_sysLog.init()
|
_sysLog.init()
|
||||||
_tgLog = new(TGLog_)
|
_tgLog = new(TGLog_)
|
||||||
_tgLog.init()
|
_tgLog.init()
|
||||||
_dbFilter = new (dbFilter)
|
_dbFilter = new(dbFilter)
|
||||||
_dbFilter.init()
|
_dbFilter.init()
|
||||||
|
_goStyleDb = new(dbPool)
|
||||||
|
_goStyleDb.init()
|
||||||
|
_jsStyleDb = new(dbPool)
|
||||||
|
_jsStyleDb.init()
|
||||||
_httpCliMgr = new(HttpCliMgr)
|
_httpCliMgr = new(HttpCliMgr)
|
||||||
_httpCliMgr.init()
|
_httpCliMgr.init()
|
||||||
{
|
{
|
||||||
@ -92,6 +96,8 @@ func (this *app) init(userApp UserApp) {
|
|||||||
func (this *app) unInit() {
|
func (this *app) unInit() {
|
||||||
this.chGoLoopTimerExit <- 1
|
this.chGoLoopTimerExit <- 1
|
||||||
_httpCliMgr.unInit()
|
_httpCliMgr.unInit()
|
||||||
|
_goStyleDb.unInit()
|
||||||
|
_jsStyleDb.unInit()
|
||||||
_dbFilter.unInit()
|
_dbFilter.unInit()
|
||||||
_timer.unInit()
|
_timer.unInit()
|
||||||
_timer = nil
|
_timer = nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user