适配最新代码

This commit is contained in:
xiongziliang
2018-07-03 17:30:58 +08:00
parent b7304808b3
commit 7c7e9a7ea4
2 changed files with 34 additions and 36 deletions

View File

@@ -53,7 +53,7 @@ static TcpServer::Ptr s_pHttpSrv;
API_EXPORT void API_CALL onAppStart(){
static onceToken s_token([](){
Logger::Instance().add(std::make_shared<ConsoleChannel>("stdout", LTrace));
EventPoller::Instance(true);
EventPoller::Instance().runLoop(false);
cleaner::Instance().push_back([](){
s_pRtspSrv.reset();