mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 19:41:50 +01:00
close response before proceeding chain (#2832)
This commit is contained in:
parent
985bb44559
commit
bff927c6eb
@ -18,6 +18,7 @@ class MyAnimeListInterceptor(private val myanimelist: MyAnimeList) : Interceptor
|
||||
|
||||
if (response.code == 400) {
|
||||
myanimelist.refreshLogin()
|
||||
response.close()
|
||||
response = chain.proceed(updateRequest(request))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user