unregister

abstract fun <T : Any> unregister(type: Class<T>)

Unregisters a service by type.