From cd01ffe9c1bfc36227da507d53f425fddcc17d2f Mon Sep 17 00:00:00 2001 From: azw Date: Sun, 7 May 2023 12:14:57 +0000 Subject: [PATCH] 1 --- server/wsproxy/app.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/wsproxy/app.cc b/server/wsproxy/app.cc index 8b9c3d0..a7038e3 100644 --- a/server/wsproxy/app.cc +++ b/server/wsproxy/app.cc @@ -25,6 +25,7 @@ #include "upstreammgr.h" #include "master.h" #include "mastermgr.h" +#include "mmcache.h" #include "longsessionmgr.h" @@ -127,6 +128,7 @@ bool App::Init(int argc, char* argv[]) f8::Timer::Instance()->Init(); JsonDataMgr::Instance()->Init(); uuid_->SetMachineId((node_id_ - 1) * MAX_NODE_ID + instance_id_); + MMCache::Instance()->Init(); DownStreamMgr::Instance()->Init(); MasterMgr::Instance()->Init(); UpStreamMgr::Instance()->Init(); @@ -189,6 +191,7 @@ void App::UnInit() MasterMgr::Instance()->UnInit(); UpStreamMgr::Instance()->UnInit(); DownStreamMgr::Instance()->UnInit(); + MMCache::Instance()->UnInit(); JsonDataMgr::Instance()->UnInit(); f8::Timer::Instance()->UnInit(); f8::MsgQueue::Instance()->UnInit();