From d9741c4857760d6f6b4548b768895b015c9d0c34 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 5 Sep 2010 17:16:09 -0700 Subject: [PATCH] Make Scheduler._destroy_installed_graph() destroy _digraph. --- pym/_emerge/Scheduler.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 89e5f235f..e94b0461b 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -300,11 +300,12 @@ class Scheduler(PollScheduler): def _destroy_installed_graph(self): """ Use this to free memory before calling _calc_resume_list(). - After _calc_resume_list(), the _init_installed_graph() needs - to be called in order to re-generate the structures that this - method destroys. + After _calc_resume_list(), the _init_installed_graph() and + _set_digraph() methods need to be called in order to + re-generate the structures that this method destroys. """ self._blocker_db = None + self._set_digraph(None) gc.collect() def _poll(self, timeout=None): -- 2.26.2