summaryrefslogtreecommitdiffstats
path: root/bin/ebuild
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-06-03 18:38:40 -0700
committerZac Medico <zmedico@gentoo.org>2011-06-03 18:38:40 -0700
commiteb8325c739fdafbff6652e43f6fe8074f1f0aa28 (patch)
treea96f98317bfdc7a8944714095b0e5fa2f06d32ba /bin/ebuild
parent989fe2831c94ab1afaad8220742c80c2cbd28730 (diff)
downloadportage-eb8325c739fdafbff6652e43f6fe8074f1f0aa28.tar.gz
portage-eb8325c739fdafbff6652e43f6fe8074f1f0aa28.tar.bz2
portage-eb8325c739fdafbff6652e43f6fe8074f1f0aa28.zip
portdbapi: cleanup when base module is reloaded
This prevents memory leaks via portdbapi.portdbapi_instances when the module is reloaded. Also, there's no need for ebuild(1) to call close_portdbapi_caches() since it's now handled automatically during the reload.
Diffstat (limited to 'bin/ebuild')
-rwxr-xr-xbin/ebuild1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/ebuild b/bin/ebuild
index e3e8c6b34..9ad17e83d 100755
--- a/bin/ebuild
+++ b/bin/ebuild
@@ -147,7 +147,6 @@ if ebuild_portdir != vdb_path and \
encoding=_encodings['content'], errors='strict')
print("Appending %s to PORTDIR_OVERLAY..." % ebuild_portdir)
- portage.close_portdbapi_caches()
imp.reload(portage)
# Constrain eclass resolution to the master(s)