Эх сурвалжийг харах

close response before proceeding chain (#2832)

MCAxiaz 5 жил өмнө
parent
commit
bff927c6eb

+ 1 - 0
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))
         }