about summary refs log tree commit diff stats
path: root/src/local
diff options
context:
space:
mode:
Diffstat (limited to 'src/local')
-rw-r--r--src/local/pager.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index d61f1dd8..2d0b12f4 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -606,6 +606,9 @@ proc loadCachedImage(pager: Pager; container: Container; image: PosBitmap;
       pager.loader.removeCachedItem(cacheId)
       if res.isNone:
         return
+      let response = res.get
+      response.resume()
+      response.close()
       let cacheId = res.get.outputId
       if cachedImage.state == cisCanceled:
         pager.loader.removeCachedItem(cacheId)