Add GDScript cache singleton
This commit is contained in:
@ -40,6 +40,7 @@
|
||||
#include "core/os/os.h"
|
||||
#include "core/project_settings.h"
|
||||
#include "gdscript_analyzer.h"
|
||||
#include "gdscript_cache.h"
|
||||
#include "gdscript_compiler.h"
|
||||
#include "gdscript_parser.h"
|
||||
|
||||
@ -1040,6 +1041,8 @@ GDScript::~GDScript() {
|
||||
memdelete(E->get());
|
||||
}
|
||||
|
||||
GDScriptCache::remove_script(get_path());
|
||||
|
||||
_save_orphaned_subclasses();
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user