freezeRegistry

fun freezeRegistry(registry: Registry<*>)