1
This commit is contained in:
parent
824e4dbe5d
commit
da56c8447d
@ -20,6 +20,7 @@
|
|||||||
#include "handlermgr.h"
|
#include "handlermgr.h"
|
||||||
#include "httpproxy.h"
|
#include "httpproxy.h"
|
||||||
#include "playermgr.h"
|
#include "playermgr.h"
|
||||||
|
#include "iomgr.h"
|
||||||
|
|
||||||
#include "ss_msgid.pb.h"
|
#include "ss_msgid.pb.h"
|
||||||
#include "ss_proto.pb.h"
|
#include "ss_proto.pb.h"
|
||||||
@ -97,6 +98,7 @@ bool App::Init(int argc, char* argv[])
|
|||||||
f8::BtMgr::Instance()->SetLogging(true);
|
f8::BtMgr::Instance()->SetLogging(true);
|
||||||
#endif
|
#endif
|
||||||
uuid.SetMachineId((node_id - 1) * MAX_NODE_ID + instance_id);
|
uuid.SetMachineId((node_id - 1) * MAX_NODE_ID + instance_id);
|
||||||
|
IoMgr::Instance()->Init();
|
||||||
HttpProxy::Instance()->Init();
|
HttpProxy::Instance()->Init();
|
||||||
PlayerMgr::Instance()->Init();
|
PlayerMgr::Instance()->Init();
|
||||||
{
|
{
|
||||||
@ -130,6 +132,7 @@ void App::UnInit()
|
|||||||
//const char* s2 = GetEnumString<int>();
|
//const char* s2 = GetEnumString<int>();
|
||||||
//int i = static_cast<int>(Test_e::kFlyBuffId);
|
//int i = static_cast<int>(Test_e::kFlyBuffId);
|
||||||
PlayerMgr::Instance()->UnInit();
|
PlayerMgr::Instance()->UnInit();
|
||||||
|
IoMgr::Instance()->UnInit();
|
||||||
HttpProxy::Instance()->UnInit();
|
HttpProxy::Instance()->UnInit();
|
||||||
f8::BtMgr::Instance()->UnInit();
|
f8::BtMgr::Instance()->UnInit();
|
||||||
f8::HttpClientPool::Instance()->UnInit();
|
f8::HttpClientPool::Instance()->UnInit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user