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. --- diff --git a/NEWS b/NEWS index e92f9eb..f5a736b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +* Fix for high memory consumption #3106 + After deleting a pixbuf you have to call the garbage collector + manualy to free the memory.(erikos) + * Only try to connect to presence service when offline. Fix for #3099 (erikos) 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