Use boost::asio timer callbacks instead of self-made ones. There are still some termination issues (terminating a network game will result in a crash). However, it should be quite effective now with a large number of users.
This commit is contained in:
@@ -153,7 +153,6 @@ private:
|
||||
ConfigFile *m_playerConfig;
|
||||
unsigned m_gameNum;
|
||||
unsigned m_curPetitionId;
|
||||
unsigned m_removePlayerTimerId;
|
||||
unsigned m_voteKickTimerId;
|
||||
unsigned m_stateTimerId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user