Add clearing of static_gdscript_cache to GDScriptCache

(cherry picked from commit db5e843e46)
This commit is contained in:
Mikael Hermansson 2025-03-17 17:09:36 +01:00 committed by Rémi Verschelde
parent fa50a444d2
commit d7366d5929
No known key found for this signature in database
GPG key ID: C3336907360768E1

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() {