reformat
This commit is contained in:
@@ -10,7 +10,6 @@ public class Hierarchy<T>
|
||||
|
||||
private readonly Dictionary<NullableObject<T>, IList<T>> _childrenLookup = new();
|
||||
private readonly Dictionary<T, T?> _parentLookup = new();
|
||||
|
||||
private readonly ConcurrentQueue<Action> _hierarchyActions = new();
|
||||
|
||||
public Hierarchy()
|
||||
@@ -51,7 +50,9 @@ public class Hierarchy<T>
|
||||
_hierarchyActions.Enqueue(() =>
|
||||
{
|
||||
if (!Contains(parObj))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var parent = GetParent(parObj);
|
||||
_childrenLookup[parent].Remove(parObj);
|
||||
|
||||
Reference in New Issue
Block a user