jmuehlner commented on code in PR #768:
URL: https://github.com/apache/guacamole-client/pull/768#discussion_r993778508
##########
guacamole/src/main/java/org/apache/guacamole/rest/auth/HashTokenSessionMap.java:
##########
@@ -226,6 +226,7 @@ public GuacamoleSession remove(String authToken) {
@Override
public void shutdown() {
executor.shutdownNow();
+ sessionMap.values().stream().forEach(GuacamoleSession::invalidate);
Review Comment:
It is somewhat obvious what's happening here, but a comment explaining it
could maybe still be nice, especially since it's new (and not entirely clear to
me why it's needed now, but not before)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]