Address CancellableContinuation.resume deprecation (#3115)

According to the source docs, this has been a warning since
kotlinx.coroutines 1.9.0.
This commit is contained in:
MajorTanya
2026-03-21 21:17:35 +01:00
committed by Jobobby04
parent 58decd076c
commit 24b66b7030
@@ -77,7 +77,7 @@ private suspend fun Call.await(callStack: Array<StackTraceElement>): Response {
val callback =
object : Callback {
override fun onResponse(call: Call, response: Response) {
continuation.resume(response) {
continuation.resume(response) { _, _, _ ->
response.body.close()
}
}