https://kotlinlang.org logo
#ktor
Title
# ktor
d

Dias

05/06/2020, 3:25 PM
I am asking, because at some point something in my app stops making http calls and it's not obvious where that happens, I am not using coroutines, just
httpClient.get<HttpResponse>(...)
. I doesn't look that httpresponse needs to be closed, but maybe I am leaking resources somewhere?
🧵 1
d

Dominaezzz

05/06/2020, 4:09 PM
HttpStatement
is lazy, is has to be "consumed".
d

Dias

05/06/2020, 4:09 PM
oh sorry
not statement
but httpresponse
2 Views