Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ensure closing image loader.

  • Loading branch information...
commit bb77e652588d8a188b91379829feb0d5bf1b1529 1 parent 4d74156
@kou kou authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  app.rb
View
1  app.rb
@@ -137,6 +137,7 @@ def render_to_surface(surface, scale, paper, info, font)
end
loader = Gdk::PixbufLoader.new
loader.write(image_data)
+ loader.close
pixbuf = loader.pixbuf
if pixbuf
context.save do
Please sign in to comment.
Something went wrong with that request. Please try again.