mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-26 11:08:08 +01:00
Fixed a bug where Session remained active after player logged out and session ended
This commit is contained in:
parent
ec7b5d0aa5
commit
4214e33070
@ -42,6 +42,8 @@ public class SessionCache {
|
||||
plugin.getDB().getSessionsTable().saveSession(uuid, session);
|
||||
} catch (SQLException e) {
|
||||
Log.toLog(this.getClass().getName(), e);
|
||||
} finally {
|
||||
activeSessions.remove(uuid);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user