close

fun close()

Tear down the coordinator. After close the scope is no longer used, all listeners are cleared, and any further dispatch call is a no-op.

Bindings call this automatically:

  • ToolbarCoordinatorViewModel.onCleared()

  • rememberNutrientToolbarCoordinator via DisposableEffect cleanup.