1
This commit is contained in:
parent
925f11416a
commit
8857b5ab99
@ -11,6 +11,7 @@
|
||||
|
||||
#include <f8/netmsghandler.h>
|
||||
#include <f8/udplog.h>
|
||||
#include <f8/msgqueue.h>
|
||||
|
||||
#include "app.h"
|
||||
#include "GCListener.h"
|
||||
@ -103,6 +104,7 @@ bool App::Init(int argc, char* argv[])
|
||||
|
||||
srand(time(nullptr));
|
||||
InitLog();
|
||||
f8::MsgQueue::Instance()->Init();
|
||||
HandlerMgr::Instance()->Init();
|
||||
f8::Timer::Instance()->Init();
|
||||
JsonDataMgr::Instance()->Init();
|
||||
@ -163,6 +165,7 @@ void App::UnInit()
|
||||
DownStreamMgr::Instance()->UnInit();
|
||||
JsonDataMgr::Instance()->UnInit();
|
||||
f8::Timer::Instance()->UnInit();
|
||||
f8::MsgQueue::Instance()->UnInit();
|
||||
HandlerMgr::Instance()->UnInit();
|
||||
UnInitLog();
|
||||
|
||||
@ -229,6 +232,7 @@ void App::AddSocketMsg(SocketFrom_e sockfrom,
|
||||
|
||||
void App::QuickExecute()
|
||||
{
|
||||
f8::MsgQueue::Instance()->Update();
|
||||
DispatchMsg();
|
||||
f8::Timer::Instance()->Update();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user