back_recharge
parent
0f554b1cef
commit
2d39d9a28a
|
@ -294,16 +294,16 @@ public class ProtocolsManager implements ProtocolsAbstract {
|
|||
return;
|
||||
}
|
||||
|
||||
ISession nowSession = (ISession) GameMessageHandler.currentSessions.get(session.getUid());
|
||||
if (nowSession == null) {
|
||||
LOGGER.info("offLine->uid={},session={},, nowSession is null",
|
||||
session.getUid(), session);
|
||||
return;
|
||||
}
|
||||
if (nowSession != null && !session.getId().equals(nowSession.getId())) {
|
||||
LOGGER.error("offLine->uid={},nowUid={}", session.getUid(), nowSession.getId());
|
||||
return;
|
||||
}
|
||||
// ISession nowSession = (ISession) GameMessageHandler.currentSessions.get(session.getUid());
|
||||
// if (nowSession == null) {
|
||||
// LOGGER.info("offLine->uid={},session={},, nowSession is null",
|
||||
// session.getUid(), session);
|
||||
// return;
|
||||
// }
|
||||
// if (nowSession != null && !session.getId().equals(nowSession.getId())) {
|
||||
// LOGGER.error("offLine->uid={},nowUid={}", session.getUid(), nowSession.getId());
|
||||
// return;
|
||||
// }
|
||||
|
||||
GameMessageHandler.currentSessions.remove(session.getUid());
|
||||
|
||||
|
|
Loading…
Reference in New Issue