cache circuits by circId
This commit is contained in:
parent
c9fc49a2de
commit
19539620a9
|
@ -215,12 +215,12 @@ public class TorEventHandler implements EventHandler, TorServiceConstants {
|
|||
if (node.ipAddress == null)
|
||||
mService.exec(new ExternalIPFetcher(node));
|
||||
|
||||
hmBuiltNodes.put(node.id, node);
|
||||
hmBuiltNodes.put(circID, node);
|
||||
}
|
||||
|
||||
if (status.equals("CLOSED"))
|
||||
{
|
||||
hmBuiltNodes.remove(node.id);
|
||||
hmBuiltNodes.remove(circID);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue