Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Ian Jackson 2023-06-16 17:07:25 +00:00 committed by Nick Mathewson
parent 6521864a34
commit 0e3dbdee8e
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ impl RpcMgr {
inner.connections.get(&id.connection)?
// Here we release the lock on self.inner, which makes it okay to
// invoke a method on `connection` that may take its lock.
drop(inner);
};
connection.lookup_by_idx(id.local_id)
}