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,7 +639,9 @@ public class OutboundClientMessageJob extends JobImpl {
+ _status.getNumSent() + " sends"); + _status.getNumSent() + " sends");
if ( (_key != null) && (_tags != null) && (_tags.size() > 0) ) { if ( (_key != null) && (_tags != null) && (_tags.size() > 0) ) {
_context.sessionKeyManager().tagsDelivered(_status.getLeaseSet().getEncryptionKey(), LeaseSet ls = _status.getLeaseSet();
if (ls != null)
_context.sessionKeyManager().tagsDelivered(ls.getEncryptionKey(),
_key, _tags); _key, _tags);
} }