{
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
{