mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -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) {
|
||||
log(VERBOSE, " Removing $t")
|
||||
log(VERBOSE, " Removing node $t")
|
||||
Node(t).let { node ->
|
||||
nodes.remove(node)
|
||||
dependingOn.removeAll(node)
|
||||
|
@ -75,6 +75,7 @@ class DynamicGraph<T> {
|
|||
}
|
||||
}
|
||||
val result = nodes.map { it.value }.filter { !nonFree.contains(it) }.toHashSet()
|
||||
log(VERBOSE, " Free nodes: $result")
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue