From 2d39d9a28a4361e11581f75508a4a5c5430c030d Mon Sep 17 00:00:00 2001 From: mashiyu Date: Tue, 19 Feb 2019 15:58:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../network/server/ProtocolsManager.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/network/server/ProtocolsManager.java b/serverlogic/src/main/java/com/ljsd/jieling/network/server/ProtocolsManager.java index 604c9a47b..6a5d7ebd3 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/network/server/ProtocolsManager.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/network/server/ProtocolsManager.java @@ -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());