winter / io.jentz.winter.adapter / ApplicationGraphOnlyAdapter / disposeGraph

disposeGraph

fun disposeGraph(instance: Any): Unit

Overrides Adapter.disposeGraph

Dispose the dependency graph of the given instance.

Parameters

instance - The instance to dispose the graph for.

Exceptions

io.jentz.winter.WinterException - if no graph for this instance type exists.