From bff927c6eb9c4c9e8c61a01214ca81401816d99b Mon Sep 17 00:00:00 2001 From: MCAxiaz Date: Tue, 7 Apr 2020 03:41:05 -0700 Subject: [PATCH] close response before proceeding chain (#2832) --- .../tachiyomi/data/track/myanimelist/MyAnimeListInterceptor.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListInterceptor.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListInterceptor.kt index 24f7fff65..46801fb83 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListInterceptor.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListInterceptor.kt @@ -18,6 +18,7 @@ class MyAnimeListInterceptor(private val myanimelist: MyAnimeList) : Interceptor if (response.code == 400) { myanimelist.refreshLogin() + response.close() response = chain.proceed(updateRequest(request)) }