From cdd75c7020bbd5d664a258a78a4255b539c4c661 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Fri, 31 Aug 2007 12:10:53 +0000 Subject: Fix for high memory consumption #3106 After deleting a pixbuf you have to call the garbage collector manualy to free the memory. --- (limited to 'svgcard.py') diff --git a/svgcard.py b/svgcard.py index a20b0ff..6ba56b4 100755 --- a/svgcard.py +++ b/svgcard.py @@ -212,6 +212,7 @@ class SvgCard(gtk.DrawingArea): self.queue_draw() while gtk.events_pending(): gtk.main_iteration() + gc.collect() def flop(self): self.current_pixbuf = self.build_face('back') -- cgit v0.9.1