This commit is contained in:
carbotaniuman 2020-08-11 14:37:26 -05:00
parent af73354d4f
commit 89d9a9386f

View file

@ -39,7 +39,6 @@ import mdnet.cache.HeaderMismatchException
import org.http4k.server.Http4kServer
import org.jetbrains.exposed.sql.Database
import org.slf4j.LoggerFactory
import java.util.concurrent.atomic.AtomicBoolean
// Exception class to handle when Client Settings have invalid values
class ClientSettingsException(message: String) : Exception(message)
@ -189,7 +188,7 @@ class MangaDexClient(private val settingsFile: File, databaseFile: File, cacheFo
if (stopWebUi) {
LOGGER.info { "Stopping WebUI to reload ClientSettings" }
if(webUi != null) {
if (webUi != null) {
stopWebUi()
}
}