diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/DynamicGraph.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/DynamicGraph.kt index 92004419..193d395d 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/DynamicGraph.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/DynamicGraph.kt @@ -35,7 +35,7 @@ class DynamicGraph { } 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 { } } val result = nodes.map { it.value }.filter { !nonFree.contains(it) }.toHashSet() + log(VERBOSE, " Free nodes: $result") return result } }