瀏覽代碼

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

Ivan Iskandar 3 年之前
父節點
當前提交
2466a079d5
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt

+ 0 - 2
app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt

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