소스 검색

close old session when new session connected

dotnetty
yedajiang44 2 년 전
부모
커밋
8db9b13997
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      src/JT808.Gateway/Session/JT808SessionManager.cs

+ 1
- 0
src/JT808.Gateway/Session/JT808SessionManager.cs 파일 보기

@@ -98,6 +98,7 @@ namespace JT808.Gateway.Session
//从转发到直连的数据需要更新缓存
session.ActiveTime = curretDatetime;
TerminalPhoneNoSessions.TryUpdate(terminalPhoneNo, session, cacheSession);
cacheSession.Close();
//会话通知
if (SessionProducer != null)
{


불러오는 중...
취소
저장