MangaCoverFetcher: Don't close network response (#6882)

This commit is contained in:
Ivan Iskandar 2022-04-08 00:34:31 +07:00 committed by GitHub
parent ed9fdf49e2
commit 2466a079d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,8 +119,6 @@ class MangaCoverFetcher(
} catch (e: Exception) {
responseBody.closeQuietly()
throw e
} finally {
response.close()
}
} catch (e: Exception) {
snapshot?.closeQuietly()