summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/gdscript_cache.h')
-rw-r--r--modules/gdscript/gdscript_cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_cache.h b/modules/gdscript/gdscript_cache.h
index c927317e19..f7f2cd90e9 100644
--- a/modules/gdscript/gdscript_cache.h
+++ b/modules/gdscript/gdscript_cache.h
@@ -59,6 +59,7 @@ private:
String path;
uint32_t source_hash = 0;
bool clearing = false;
+ bool abandoned = false;
friend class GDScriptCache;
friend class GDScript;
@@ -79,6 +80,7 @@ public:
class GDScriptCache {
// String key is full path.
HashMap<String, GDScriptParserRef *> parser_map;
+ HashMap<String, Vector<ObjectID>> abandoned_parser_map;
HashMap<String, Ref<GDScript>> shallow_gdscript_cache;
HashMap<String, Ref<GDScript>> full_gdscript_cache;
HashMap<String, Ref<GDScript>> static_gdscript_cache;