Skip to content

Commit cf67fdd

Browse files
committed
Merge pull request godotengine#114683 from HolonProduction/gdscript/unload-static
GDScript: Remove unused `unload_static`
2 parents ea9e909 + bf9e83b commit cf67fdd

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

modules/gdscript/gdscript.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -927,10 +927,6 @@ const Variant GDScript::get_rpc_config() const {
927927
return rpc_config;
928928
}
929929

930-
void GDScript::unload_static() const {
931-
GDScriptCache::remove_script(fully_qualified_name);
932-
}
933-
934930
Variant GDScript::callp(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error) {
935931
GDScript *top = this;
936932
while (top) {

modules/gdscript/gdscript.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,6 @@ class GDScript : public Script {
339339

340340
virtual const Variant get_rpc_config() const override;
341341

342-
void unload_static() const;
343-
344342
#ifdef TOOLS_ENABLED
345343
virtual bool is_placeholder_fallback_enabled() const override { return placeholder_fallback_enabled; }
346344
#endif

0 commit comments

Comments
 (0)