summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-06 22:19:20 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-06 22:19:20 +0000
commit120327f3008ea49affc4acb1e0d1eb1dd6949c56 (patch)
tree968d9dbb8fe213b9ab6aca51a5a175c951393d2f
parent1f40b7af006ddc2ca1dec49f652f02c7d6d5a896 (diff)
downloadportage-120327f3008ea49affc4acb1e0d1eb1dd6949c56.tar.gz
portage-120327f3008ea49affc4acb1e0d1eb1dd6949c56.tar.bz2
portage-120327f3008ea49affc4acb1e0d1eb1dd6949c56.zip
Delete the depgraph when it's no longer needed.
svn path=/main/trunk/; revision=5190
-rwxr-xr-xbin/emerge2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 7040e0913..cdc22fabe 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -4175,6 +4175,7 @@ def action_build(settings, trees, mtimedb,
it to write the mtimedb"""
mtimedb.filename = None
time.sleep(3) # allow the parent to have first fetch
+ del mydepgraph
retval = mergetask.merge(
mtimedb["resume"]["mergelist"], favorites, mtimedb)
if retval != os.EX_OK:
@@ -4211,6 +4212,7 @@ def action_build(settings, trees, mtimedb,
pkglist.append(pkg)
else:
pkglist = mydepgraph.altlist()
+ del mydepgraph
mergetask = MergeTask(settings, trees, myopts)
retval = mergetask.merge(pkglist, favorites, mtimedb)
if retval != os.EX_OK: