diff --git a/base/src/main/kotlin/de/staropensource/engine/base/Engine.kt b/base/src/main/kotlin/de/staropensource/engine/base/Engine.kt index 9e684a6..00fa421 100644 --- a/base/src/main/kotlin/de/staropensource/engine/base/Engine.kt +++ b/base/src/main/kotlin/de/staropensource/engine/base/Engine.kt @@ -345,12 +345,6 @@ class Engine private constructor() { */ @JvmStatic internal fun shutdownAfterCrash() { - // Check for state - when (state) { - State.UNINITIALIZED, State.SHUTTING_DOWN, State.SHUT_DOWN, State.CRASHED -> return - else -> {} - } - logger.info("Shutting down after having crashed fatally") // Perform shutdown