Przeglądaj źródła

close old session when new session connected

dotnetty
yedajiang44 2 lat temu
rodzic
commit
8db9b13997
1 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      src/JT808.Gateway/Session/JT808SessionManager.cs

+ 1
- 0
src/JT808.Gateway/Session/JT808SessionManager.cs Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz