Add clearing of static_gdscript_cache to GDScriptCache

This commit is contained in:
Mikael Hermansson 2025-03-17 17:09:36 +01:00
parent 4ef0cd689f
commit db5e843e46

View file

@ -485,6 +485,7 @@ void GDScriptCache::clear() {
parser_map_refs.clear();
singleton->shallow_gdscript_cache.clear();
singleton->full_gdscript_cache.clear();
singleton->static_gdscript_cache.clear();
}
GDScriptCache::GDScriptCache() {