git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@477
be28352e-c001-0410-b1a7-
c7978e42abec
throw new java.io.IOException("Document is closed.");
}
if (iohandler==null) {
- log.warn("updateSessionDocument called document iohandler handler.");
+ log.warn("updateSessionDocument called on null document iohandler handler.");
throw new java.io.IOException("Document is closed.");
}
doc = null;
}
// disengage from client
- if (sclient!=null)
+ if (sclient!=null && sclient.cdocument==this)
sclient.cdocument = null;
sclient=null;