Moved closeForRestart() to public scope

This commit is contained in:
Robinson 2022-08-02 13:24:23 +02:00
parent 305d410071
commit eea68c059a
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C

View File

@ -861,7 +861,7 @@ internal constructor(val type: Class<*>,
* - response manager
* - storage
*/
internal fun closeForRestart() {
fun closeForRestart() {
if (shutdown.compareAndSet(expect = false, update = true)) {
logger.info { "Shutting down for restart..." }