From 2b2727c4e8d4850667266fcc6270470131dbc078 Mon Sep 17 00:00:00 2001 From: carbotaniuman <41451839+carbotaniuman@users.noreply.github.com> Date: Mon, 22 Jun 2020 10:51:09 -0500 Subject: [PATCH] Fix bug --- src/main/kotlin/mdnet/base/MangaDexClient.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/kotlin/mdnet/base/MangaDexClient.kt b/src/main/kotlin/mdnet/base/MangaDexClient.kt index d90b821..7e27451 100644 --- a/src/main/kotlin/mdnet/base/MangaDexClient.kt +++ b/src/main/kotlin/mdnet/base/MangaDexClient.kt @@ -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()