commit | 386dc3d36b086d8d16fe396bff00b3f13f4c18f9 | [log] [tgz] |
---|---|---|
author | Zac Medico <zmedico@gentoo.org> | Fri Jun 07 18:32:01 2013 -0700 |
committer | Zac Medico <zmedico@gentoo.org> | Fri Jun 07 18:32:44 2013 -0700 |
tree | 42f5e17170e6e6bddcb53c82106b364cf220c65b | |
parent | c8530deda6b85dad1f7557d490f8a200e8bfa54e [diff] |
cache/template.py: call self.sync() from __del__ This allows portdbapi.portdbapi_instances to be eliminated, which is nice because we no longer has to be so careful to avoid memory leaks involving this variable. It was not just annoying for portage internals, but also for any API consumers that needed to create/destroy many portdbapi instances.