move setting hop to nullptr to after delivery or delivery fail

pull/1663/head
Jeff Becker 3 years ago
parent ce7643a3aa
commit 3142bab0ac
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -316,9 +316,9 @@ namespace llarp
self->hop->info.downstream,
self->hop->pathKey,
status);
self->hop = nullptr;
};
self->context->ForwardLRCM(self->hop->info.upstream, self->frames, func);
self->hop = nullptr;
}
// this is called from the logic thread

Loading…
Cancel
Save