This website works better with JavaScript.
首頁
探索
說明
登入
SmallChi
/
JT808Gateway
镜像来自
https://github.com/SmallChi/JT808Gateway.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
22
Wiki
Activity
瀏覽代碼
close old session when new session connected
dotnetty
yedajiang44
2 年之前
父節點
681d57ef56
當前提交
8db9b13997
共有
1 個文件被更改
,包括
1 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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)
{
Write
Preview
Loading…
取消
儲存