registerShutdownHook

private open fun registerShutdownHook(hooks: List<out LifecycleHook>, wait: Boolean)