X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fuk%2Fac%2Fvamsas%2Fclient%2Fsimpleclient%2FVamsasSession.java;h=5b8875c3609aee874d1fbc0a20b64c84115009bd;hb=f47e57afe7611718d97f70ec46a303f9b377f0f5;hp=0fc3bd3ddff3e5a293ef161583e10d0f9784e96f;hpb=77f230466e35a554eb6871a871a89f10d2b4d39e;p=vamsas.git diff --git a/src/uk/ac/vamsas/client/simpleclient/VamsasSession.java b/src/uk/ac/vamsas/client/simpleclient/VamsasSession.java index 0fc3bd3..5b8875c 100644 --- a/src/uk/ac/vamsas/client/simpleclient/VamsasSession.java +++ b/src/uk/ac/vamsas/client/simpleclient/VamsasSession.java @@ -355,15 +355,15 @@ public class VamsasSession { { if (client == null) { + System.out.println("Try to remove a null client."); this.slog.error("Try to remove a null client."); return; } this.clist.removeClient(client.getClientHandle(), getClientWatcher().getChangedState()); if (this.clist.retrieveClientList() == null|| this.clist.retrieveClientList().length<1) {//assume it is the last client has been removed shutting down session - System.out.println("last client removed: removing session"); - this.getSessionManager().removeSession(client.getSessionHandle()); - + System.out.println("last client removed: removing session"); + this.getSessionManager().removeSession(client.getSessionHandle()); } else {