This website works better with JavaScript.
Home
Explore
Help
Sign In
SmallChi
/
JT808Gateway
mirror of
https://github.com/SmallChi/JT808Gateway.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
22
Wiki
Activity
Browse Source
close old session when new session connected
dotnetty
yedajiang44
2 years ago
parent
681d57ef56
commit
8db9b13997
1 changed files
with
1 additions
and
0 deletions
Split View
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
View File
@@ -98,6 +98,7 @@ namespace JT808.Gateway.Session
//从转发到直连的数据需要更新缓存
session.ActiveTime = curretDatetime;
TerminalPhoneNoSessions.TryUpdate(terminalPhoneNo, session, cacheSession);
cacheSession.Close();
//会话通知
if (SessionProducer != null)
{
Write
Preview
Loading…
Cancel
Save