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

(cherry picked from commit 2466a079d56bb8dcfc97eb803c0d93082da76281)
This commit is contained in:
Ivan Iskandar 2022-04-08 00:34:31 +07:00 committed by Jobobby04
parent 9e78f4f0f1
commit 6a45a91a50

View File

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