deadlock
This commit is contained in:
		@@ -550,7 +550,7 @@ impl RoutingTable {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    pub fn lookup_node_ref(&self, node_id: DHTKey) -> Option<NodeRef> {
 | 
					    pub fn lookup_node_ref(&self, node_id: DHTKey) -> Option<NodeRef> {
 | 
				
			||||||
        let inner = self.inner.read();
 | 
					        let inner = self.inner.read();
 | 
				
			||||||
        if node_id == self.node_id() {
 | 
					        if node_id == inner.node_id {
 | 
				
			||||||
            log_rtab!(debug "can't look up own node id in routing table");
 | 
					            log_rtab!(debug "can't look up own node id in routing table");
 | 
				
			||||||
            return None;
 | 
					            return None;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user