提交 12daac57 编写于 作者: S sunryuan

fix bug

上级 1a80b5b2
......@@ -75,9 +75,12 @@ public class ServerStatisticManager {
time = time - time % (60 * 1000);
if (time != m_currentMunite) {
m_currentMunite = time;
m_currentStatistic = m_serverState.findOrCreate(time);
synchronized(this){
if (time != m_currentMunite) {
System.out.println("hello");
m_currentMunite = time;
m_currentStatistic = m_serverState.findOrCreate(time);
}
}
return m_currentStatistic;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册