mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-11-17 00:22:32 +01:00
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) {
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user