1
This commit is contained in:
parent
94960b065c
commit
cd01ffe9c1
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user