1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #104281 from mihe/clear-static-gdscript-cache

Add clearing of `static_gdscript_cache` to `GDScriptCache`
This commit is contained in:
Rémi Verschelde
2025-03-18 13:50:20 +01:00

View File

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