Minor cleanup

(cherry picked from commit a2ee4e63ae3bb2949c57d11a23bc56315579f891)
This commit is contained in:
arkon
2023-01-12 22:53:28 -05:00
committed by Jobobby04
parent 69acaa7829
commit 864707d75b
9 changed files with 43 additions and 46 deletions
@@ -83,6 +83,7 @@ suspend fun Call.await(): Response {
override fun onFailure(call: Call, e: IOException) {
// Don't bother with resuming the continuation if it is already cancelled.
if (continuation.isCancelled) return
continuation.resumeWithException(e)
}
},