|
发表于 2011-3-21 13:38:55
|
显示全部楼层
bool CProServerManager::Close()
{
OUR_DEBUG((LM_INFO, "[CServerManager::Close]Close begin....\n"));
App_MakePacket::instance()->Close();
OUR_DEBUG((LM_INFO, "[App_MessageService::Close]Close App_MakePacket OK.\n"));
App_MessageService::instance()->Close();
OUR_DEBUG((LM_INFO, "[App_MessageService::Close]Close App_MessageService OK.\n"));
App_TimerManager::instance()->close();
App_ProConnectManager::instance()->CloseAll();
OUR_DEBUG((LM_INFO, "[CServerManager::Close]Close App_ConnectManager OK.\n"));
App_ClientProConnectManager::instance()->Close();
OUR_DEBUG((LM_INFO, "[CServerManager::Close]Close App_ClientReConnectManager OK.\n"));
AppLogManager::instance()->Close();
OUR_DEBUG((LM_INFO, "[CServerManager::Close]AppLogManager OK\n"));
App_ProactorManager::instance()->StartProactor();
OUR_DEBUG((LM_INFO, "[CServerManager::Close]Close App_ReactorManager OK.\n"));
OUR_DEBUG((LM_INFO, "[CServerManager::Close]Close end....\n"));
return true;
}
此处的App_ProactorManager::instance()->StartProactor();是否为笔误??应该改为:
App_ProactorManager::instance()->StopProactor();并且日志记录的信息也是不对的。 |
|