mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
Merge pull request #78521 from jpcerrone/fix_static_vars_refs
Fix errors destroying script with static variables
This commit is contained in:
commit
f2ce0b6741
@ -1542,7 +1542,7 @@ GDScript::~GDScript() {
|
||||
{
|
||||
MutexLock lock(GDScriptLanguage::get_singleton()->mutex);
|
||||
|
||||
GDScriptLanguage::get_singleton()->script_list.remove(&script_list);
|
||||
script_list.remove_from_list();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user