From c496bd604b63c341e095c496aafa0e1d38e8a6f6 Mon Sep 17 00:00:00 2001 From: shteef Date: Sun, 13 Nov 2005 12:36:29 +0000 Subject: [PATCH] Ditch gc.collect() --- src/disco.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/disco.py b/src/disco.py index ef2434640..c223b14b3 100644 --- a/src/disco.py +++ b/src/disco.py @@ -179,7 +179,6 @@ class ServicesCache: del self._items[key] if self._info or self._items: return True - gc.collect() self._cleancid = None return False @@ -507,10 +506,6 @@ _('Without a connection, you can not browse available services')).get_response() if chain and not self.parent.children: self.parent.destroy(chain = chain) self.parent = None - - # This is for the icon cache. We do this here because we want to keep - # it cross-browser, but not when we close the window. - gc.collect() def travel(self, jid, node): '''Travel to an agent within the current services window.'''