1
0
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-11-17 00:22:32 +01:00
This commit is contained in:
carbotaniuman 2020-06-22 10:51:09 -05:00
parent 79e45eed4c
commit 2b2727c4e8

View File

@ -268,7 +268,6 @@ class MangaDexClient(private val clientSettings: ClientSettings) {
this.state = GracefulShutdown(state, nextState = Shutdown) { this.state = GracefulShutdown(state, nextState = Shutdown) {
latch.countDown() latch.countDown()
} }
latch.await()
} else if (state is GracefulShutdown) { } else if (state is GracefulShutdown) {
this.state = state.copy(nextState = Shutdown) { this.state = state.copy(nextState = Shutdown) {
latch.countDown() latch.countDown()