mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-03 01:10:17 +01:00
Removed unintended Concurrency side-effect
This commit is contained in:
parent
f0e1b7521d
commit
52456bcc04
@ -42,7 +42,7 @@ public class SessionCache {
|
||||
}
|
||||
|
||||
public static Map<UUID, Session> getActiveSessions() {
|
||||
return Collections.unmodifiableMap(ACTIVE_SESSIONS);
|
||||
return Collections.unmodifiableMap(new HashMap<>(ACTIVE_SESSIONS));
|
||||
}
|
||||
|
||||
public static void clear() {
|
||||
|
Loading…
Reference in New Issue
Block a user