summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/Scheduler.py7
1 files 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):