Fix recent javadoc errors
Issue: SPR-17174
This commit is contained in:
@@ -367,10 +367,10 @@ public class TransportHandlingSockJsService extends AbstractSockJsService implem
|
||||
}
|
||||
this.sessionCleanupTask = getTaskScheduler().scheduleAtFixedRate(() -> {
|
||||
List<String> removedIds = new ArrayList<>();
|
||||
for (SockJsSession session : sessions.values()) {
|
||||
for (SockJsSession session : this.sessions.values()) {
|
||||
try {
|
||||
if (session.getTimeSinceLastActive() > getDisconnectDelay()) {
|
||||
sessions.remove(session.getId());
|
||||
this.sessions.remove(session.getId());
|
||||
removedIds.add(session.getId());
|
||||
session.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user