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; return;
} }
ISession nowSession = (ISession) GameMessageHandler.currentSessions.get(session.getUid()); // ISession nowSession = (ISession) GameMessageHandler.currentSessions.get(session.getUid());
if (nowSession == null) { // if (nowSession == null) {
LOGGER.info("offLine->uid={},session={},, nowSession is null", // LOGGER.info("offLine->uid={},session={},, nowSession is null",
session.getUid(), session); // session.getUid(), session);
return; // return;
} // }
if (nowSession != null && !session.getId().equals(nowSession.getId())) { // if (nowSession != null && !session.getId().equals(nowSession.getId())) {
LOGGER.error("offLine->uid={},nowUid={}", session.getUid(), nowSession.getId()); // LOGGER.error("offLine->uid={},nowUid={}", session.getUid(), nowSession.getId());
return; // return;
} // }
GameMessageHandler.currentSessions.remove(session.getUid()); GameMessageHandler.currentSessions.remove(session.getUid());