Some changes to user / session / chat / tournament handling (not all tested yet).

This commit is contained in:
LevelX2 2014-08-28 17:18:36 +02:00
parent e8cfb2231c
commit d3a2ba683c
13 changed files with 105 additions and 86 deletions

View file

@ -176,7 +176,7 @@ public class TournamentSession {
}
private void cleanUp() {
if (!futureTimeout.isDone()) {
if (futureTimeout != null && !futureTimeout.isDone()) {
futureTimeout.cancel(true);
}
}