setKeepAlive

open fun setKeepAlive(keepAlive: Boolean)

Set whether to keep the application alive even if there are no more non-daemon threads.

Since

3.2.0

Parameters

keepAlive

whether to keep the application alive even if there are no morenon-daemon threads