mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-02-25 09:17:32 +00:00
DomainTree: minor refactoring done.
This commit is contained in:
@@ -192,9 +192,9 @@ namespace DnsServerCore.Dns.Trees
|
||||
|
||||
public override bool TryRemove(string key, out T value)
|
||||
{
|
||||
if (TryRemove(key, out value, out Node closestNode))
|
||||
if (TryRemove(key, out value, out Node currentNode))
|
||||
{
|
||||
closestNode.CleanThisBranch();
|
||||
currentNode.CleanThisBranch();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user