1
This commit is contained in:
parent
85e2a966c8
commit
ec4b6dcb62
@ -17,6 +17,7 @@
|
||||
#include "handlermgr.h"
|
||||
#include "GCListener.h"
|
||||
#include "playermgr.h"
|
||||
#include "dbengine.h"
|
||||
|
||||
#include "framework/cpp/msgqueue.h"
|
||||
#include "framework/cpp/tglog.h"
|
||||
@ -84,6 +85,7 @@ void App::Init(int argc, char* argv[])
|
||||
uuid.SetMachineId(instance_id);
|
||||
GCListener::Instance()->Init();
|
||||
PlayerMgr::Instance()->Init();
|
||||
DBEngine::Instance()->Init();
|
||||
|
||||
a8::UdpLog::Instance()->Info("gameserver starting instance_id:%d pid:%d", {instance_id, getpid()});
|
||||
{
|
||||
@ -105,6 +107,7 @@ void App::UnInit()
|
||||
if (terminated) {
|
||||
return;
|
||||
}
|
||||
DBEngine::Instance()->UnInit();
|
||||
PlayerMgr::Instance()->UnInit();
|
||||
GCListener::Instance()->UnInit();
|
||||
JsonDataMgr::Instance()->UnInit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user