summaryrefslogtreecommitdiff
path: root/buildstream/_project.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-02-13 16:13:16 +0000
committerBenjamin Schubert <ben.c.schubert@gmail.com>2019-02-13 16:13:16 +0000
commit9db7f489092a7d5ab14b223eb13fb8fce4829df1 (patch)
treef419d960cf771ea836a7666b712e118265244f07 /buildstream/_project.py
parent54ec032a9664719c2997c35e5353ca455e917fb9 (diff)
parentb41a82d3b535b679320dea7541d7b0211944750c (diff)
downloadbuildstream-9db7f489092a7d5ab14b223eb13fb8fce4829df1.tar.gz
Merge branch 'bschubert/cleanup-local-state' into 'master'
Cleanup MetaElement local state See merge request BuildStream/buildstream!1147
Diffstat (limited to 'buildstream/_project.py')
-rw-r--r--buildstream/_project.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildstream/_project.py b/buildstream/_project.py
index 028bdcc9f..92ac8cab5 100644
--- a/buildstream/_project.py
+++ b/buildstream/_project.py
@@ -358,6 +358,8 @@ class Project():
for meta in meta_elements
]
+ Element._clear_meta_elements_cache()
+
# Now warn about any redundant source references which may have
# been discovered in the resolve() phase.
redundant_refs = Element._get_redundant_source_refs()