Skip to content

Commit

Permalink
call the right cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
squarejesse committed Dec 17, 2023
1 parent 2ae45b6 commit 1f60fd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class RealCall(

private val timeout = object : AsyncTimeout() {
override fun timedOut() {
cancel()
this@RealCall.cancel()
}
}.apply {
timeout(client.callTimeoutMillis.toLong(), MILLISECONDS)
Expand Down

0 comments on commit 1f60fd6

Please sign in to comment.