Selaa lähdekoodia

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

Add clearing of `static_gdscript_cache` to `GDScriptCache`
Rémi Verschelde 5 kuukautta sitten
vanhempi
commit
500d005702
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      modules/gdscript/gdscript_cache.cpp

+ 1 - 0
modules/gdscript/gdscript_cache.cpp

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