Changeset 2641


Ignore:
Timestamp:
Feb 10, 2011, 10:15:40 AM (11 years ago)
Author:
Sven Rech
Message:

fixed keysearcher root reset bug

Location:
trunk/CrypPlugins/KeySearcher/P2P/Tree
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/P2P/Tree/KeyPoolTree.cs

    r2608 r2641  
    174174        internal void Reset()
    175175        {
    176             //rootNode.Reset();
     176            ((Node)rootNode).ClearChildsLocal();
    177177            currentNode = rootNode;
    178178            skippedReservedNodes = false;
  • trunk/CrypPlugins/KeySearcher/P2P/Tree/Node.cs

    r2608 r2641  
    8080        }
    8181
     82        public void ClearChildsLocal()
     83        {
     84            leftChild = null;
     85            rightChild = null;
     86        }
     87
    8288        public override void UpdateCache()
    8389        {
Note: See TracChangeset for help on using the changeset viewer.