*Changed lock handling of session to prevent continuous locking.

This commit is contained in:
LevelX2 2014-11-23 18:42:22 +01:00
parent 638e42bc7f
commit b0238b402e
2 changed files with 44 additions and 14 deletions

View file

@ -73,7 +73,7 @@ public class ChatSession {
public void kill(UUID userId, DisconnectReason reason) {
try {
try {
if (reason == null) {
logger.fatal("User kill without disconnect reason userId: " + userId);
reason = DisconnectReason.Undefined;