From db269c8df598ff9915215629866a04b0b38f2b91 Mon Sep 17 00:00:00 2001 From: azw Date: Sun, 20 Aug 2023 15:29:59 +0800 Subject: [PATCH] 1 --- app.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app.go b/app.go index 8f64964..072ab9e 100644 --- a/app.go +++ b/app.go @@ -64,8 +64,12 @@ func (this *app) init(userApp UserApp) { _sysLog.init() _tgLog = new(TGLog_) _tgLog.init() - _dbFilter = new (dbFilter) + _dbFilter = new(dbFilter) _dbFilter.init() + _goStyleDb = new(dbPool) + _goStyleDb.init() + _jsStyleDb = new(dbPool) + _jsStyleDb.init() _httpCliMgr = new(HttpCliMgr) _httpCliMgr.init() { @@ -92,6 +96,8 @@ func (this *app) init(userApp UserApp) { func (this *app) unInit() { this.chGoLoopTimerExit <- 1 _httpCliMgr.unInit() + _goStyleDb.unInit() + _jsStyleDb.unInit() _dbFilter.unInit() _timer.unInit() _timer = nil