mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Better log.
This commit is contained in:
parent
ec3edce536
commit
63f02f86bf
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@ class DynamicGraph<T> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fun removeNode(t: T) = synchronized(nodes) {
|
fun removeNode(t: T) = synchronized(nodes) {
|
||||||
log(VERBOSE, " Removing $t")
|
log(VERBOSE, " Removing node $t")
|
||||||
Node(t).let { node ->
|
Node(t).let { node ->
|
||||||
nodes.remove(node)
|
nodes.remove(node)
|
||||||
dependingOn.removeAll(node)
|
dependingOn.removeAll(node)
|
||||||
|
@ -75,6 +75,7 @@ class DynamicGraph<T> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val result = nodes.map { it.value }.filter { !nonFree.contains(it) }.toHashSet()
|
val result = nodes.map { it.value }.filter { !nonFree.contains(it) }.toHashSet()
|
||||||
|
log(VERBOSE, " Free nodes: $result")
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue