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) { } catch (e: Exception) {
responseBody.closeQuietly() responseBody.closeQuietly()
throw e throw e
} finally {
response.close()
} }
} catch (e: Exception) { } catch (e: Exception) {
snapshot?.closeQuietly() snapshot?.closeQuietly()