Changeset 440d557 for apps


Ignore:
Timestamp:
Mar 28, 2019 5:22:08 PM (13 months ago)
Author:
zab2 <zab2@…>
Branches:
master
Children:
85db853
Parents:
910a0d8
Message:

Clear all state if the tunnel is closed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/access/AccessFilter.java

    r910a0d8 r440d557  
    148148        }
    149149        public void timeReached() {
    150             if (!task.isOpen())
     150            if (!task.isOpen()) {
     151                synchronized(knownDests) {
     152                    knownDests.clear();
     153                }
     154                synchronized(unknownDests) {
     155                    unknownDests.clear();
     156                }
    151157                return;
     158            }
    152159            purge();
    153160            schedule(PURGE_INTERVAL);
Note: See TracChangeset for help on using the changeset viewer.