back_recharge
mashiyu 2019-02-19 15:58:08 +08:00
parent 0f554b1cef
commit 2d39d9a28a
1 changed files with 10 additions and 10 deletions

View File

@ -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());