mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-07 04:18:26 +02: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