I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 440d5571 authored by zab2's avatar zab2
Browse files

Clear all state if the tunnel is closed

parent 910a0d85
No related branches found
No related tags found
No related merge requests found
......@@ -147,8 +147,15 @@ class AccessFilter implements IncomingConnectionFilter {
super(context.simpleTimer2(), PURGE_INTERVAL);
}
public void timeReached() {
if (!task.isOpen())
if (!task.isOpen()) {
synchronized(knownDests) {
knownDests.clear();
}
synchronized(unknownDests) {
unknownDests.clear();
}
return;
}
purge();
schedule(PURGE_INTERVAL);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment