summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi/porttree.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/dbapi/porttree.py')
-rw-r--r--pym/portage/dbapi/porttree.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index ed6b761b6..793b738c7 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -1053,6 +1053,8 @@ def close_portdbapi_caches():
for i in portdbapi.portdbapi_instances:
i.close_caches()
+portage.process.atexit_register(portage.portageexit)
+
class portagetree(object):
def __init__(self, root=None, virtual=None, settings=None):
"""