Further paranoia changes to prevent timer callbacks from occurring in an uncontrolled state.

This commit is contained in:
lotodore committed 2009-06-15 22:34:07 +00:00
1 parent 3d57f65e2b
commit 22edd63dde
6 files changed
+66 -5

No files matched your search

+3
View File
@@ -444,6 +444,9 @@ ClientThread::Main()
// Execute remaining ready handlers.
m_ioService->reset();
m_ioService->poll();
// Set a state which does not do anything.
SetState(CLIENT_FINAL_STATE::Instance());
} catch (const PokerTHException &e)
{
GetCallback().SignalNetClientError(e.GetErrorId(), e.GetOsErrorCode());