sanity checking for a kooky race condition
This commit is contained in:
@ -639,8 +639,10 @@ 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();
|
||||||
_key, _tags);
|
if (ls != null)
|
||||||
|
_context.sessionKeyManager().tagsDelivered(ls.getEncryptionKey(),
|
||||||
|
_key, _tags);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (alreadySuccessful) {
|
if (alreadySuccessful) {
|
||||||
|
Reference in New Issue
Block a user