close

fun close()

Proactively clear held widgets. (This avoids problems when mixing garbage-collected Kotlin objects with reference-counted Swift objects.)