Close mangadex login response body
This commit is contained in:
parent
67310ada53
commit
7624abbebd
1 changed files with 2 additions and 1 deletions
|
|
@ -57,6 +57,7 @@ import okhttp3.Headers
|
|||
import okhttp3.HttpUrl.Companion.toHttpUrl
|
||||
import okhttp3.Request
|
||||
import okhttp3.Response
|
||||
import okhttp3.internal.closeQuietly
|
||||
import okio.EOFException
|
||||
import rx.Observable
|
||||
import tachiyomi.source.model.ChapterInfo
|
||||
|
|
@ -210,7 +211,7 @@ class MangaDex(delegate: HttpSource, val context: Context) :
|
|||
headers,
|
||||
formBody.build()
|
||||
)
|
||||
).await()
|
||||
).await().closeQuietly()
|
||||
|
||||
val response = client.newCall(GET(MdUtil.apiUrl + MdUtil.isLoggedInApi, headers)).await()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue