fix websocket断开连接未删除会话缓存

pull/71/head
1351515658@qq.com 2023-11-29 19:45:22 +08:00
parent bc05fe497c
commit 1535ae03b6
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class WebSocketSessionManagerImpl implements WebSocketSessionManager {
@Override
public void removeSession(WebSocketSession session) {
// 移除从 idSessions 中
idSessions.remove(session.getId(), session);
idSessions.remove(session.getId());
// 移除从 idSessions 中
LoginUser user = WebSocketFrameworkUtils.getLoginUser(session);
if (user == null) {