summaryrefslogtreecommitdiff
path: root/buildstream/_project.py
diff options
context:
space:
mode:
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()