diff --git a/servers/rendering/shader_language.cpp b/servers/rendering/shader_language.cpp index 5f1643229cfb..f5e0b811a26a 100644 --- a/servers/rendering/shader_language.cpp +++ b/servers/rendering/shader_language.cpp @@ -10837,4 +10837,5 @@ ShaderLanguage::ShaderLanguage() { ShaderLanguage::~ShaderLanguage() { clear(); + global_func_set.clear(); }