From 669a7eb39181ac5d7f99e786d75012dbb694da70 Mon Sep 17 00:00:00 2001 From: Gravita Date: Mon, 28 Dec 2020 21:29:12 +0700 Subject: [PATCH] [FIX] clientSet & uuidIndex serialize --- .../launchserver/auth/session/MemorySessionStorage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/session/MemorySessionStorage.java b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/session/MemorySessionStorage.java index 7676bdab..10d7a976 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/session/MemorySessionStorage.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/session/MemorySessionStorage.java @@ -9,8 +9,8 @@ public class MemorySessionStorage extends SessionStorage implements NeedGarbageCollection { - private final Map clientSet = new ConcurrentHashMap<>(128); - private final Map> uuidIndex = new ConcurrentHashMap<>(32); + private transient final Map clientSet = new ConcurrentHashMap<>(128); + private transient final Map> uuidIndex = new ConcurrentHashMap<>(32); @Override public byte[] getSessionData(UUID session) {