session boost_ptr refactoring

This commit is contained in:
doitux
2008-10-07 21:16:27 +00:00
parent 13cc3d5aeb
commit de6228bb7d
18 changed files with 138 additions and 144 deletions
+3 -3
View File
@@ -164,14 +164,14 @@ main(int argc, char *argv[])
LOG_ERROR("Missing files - please check your directory settings!");
myServerGuiInterface->setSession(session);
myServerGuiInterface->getSession().startNetworkServer();
myServerGuiInterface->getSession()->startNetworkServer();
while (!g_pokerthTerminate)
{
Thread::Msleep(100);
if (myServerGuiInterface->getSession().pollNetworkServerTerminated())
if (myServerGuiInterface->getSession()->pollNetworkServerTerminated())
g_pokerthTerminate = true;
}
myServerGuiInterface->getSession().terminateNetworkServer();
myServerGuiInterface->getSession()->terminateNetworkServer();
LOG_MSG("Terminating PokerTH dedicated server." << endl);
socket_cleanup();