Commit 1819184c authored by Matias Guijarro's avatar Matias Guijarro
Browse files

config/ do not make a strong reference to objects from config

parent d529aaad
......@@ -890,7 +890,7 @@ class Config:
parent[key] = value
def _clear_instances(self):
self._name2instance = dict()
self._name2instance = weakref.WeakValueDictionary()
self._name2cache = dict()
def pprint(self, indent=1, depth=None):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment