Fix bug
This commit is contained in:
parent
79e45eed4c
commit
2b2727c4e8
|
@ -268,7 +268,6 @@ class MangaDexClient(private val clientSettings: ClientSettings) {
|
|||
this.state = GracefulShutdown(state, nextState = Shutdown) {
|
||||
latch.countDown()
|
||||
}
|
||||
latch.await()
|
||||
} else if (state is GracefulShutdown) {
|
||||
this.state = state.copy(nextState = Shutdown) {
|
||||
latch.countDown()
|
||||
|
|
Loading…
Reference in a new issue