Delete the depgraph when it's no longer needed.
authorZac Medico <zmedico@gentoo.org>
Wed, 6 Dec 2006 22:19:20 +0000 (22:19 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 6 Dec 2006 22:19:20 +0000 (22:19 -0000)
svn path=/main/trunk/; revision=5190

bin/emerge

index 7040e0913c164f6edfc221e94aa38ff74d3a448a..cdc22fabef716dd732fc4402284233f4637cd371 100755 (executable)
@@ -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: