sanity checking for a kooky race condition

This commit is contained in:
jrandom
2004-07-12 21:33:32 +00:00
committed by zzz
parent 1375d01bdf
commit da439dd127

View File

@ -639,8 +639,10 @@ public class OutboundClientMessageJob extends JobImpl {
+ _status.getNumSent() + " sends");
if ( (_key != null) && (_tags != null) && (_tags.size() > 0) ) {
_context.sessionKeyManager().tagsDelivered(_status.getLeaseSet().getEncryptionKey(),
_key, _tags);
LeaseSet ls = _status.getLeaseSet();
if (ls != null)
_context.sessionKeyManager().tagsDelivered(ls.getEncryptionKey(),
_key, _tags);
}
if (alreadySuccessful) {