Also drop read handle if route is for ourselves

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
Lee Smet committed 2023-11-07 11:52:27 +01:00
1 parent b6d3b98eed
commit a14d4b7569
1 file changed
+1
+1
View File
@@ -424,6 +424,7 @@ impl Router {
// Bump router seqno
// TODO: should we only send an update to the peer who sent the seqno request
// instad of updating all our peers?
drop(inner);
let mut inner_w = self.inner_w.lock().expect("Mutex isn't poisoned");
inner_w.append(RouterOpLogEntry::BumpSequenceNumber);
// We already need to publish here so the sequence number is set correctly when