Skip to content

Commit

Permalink
Merge pull request #78521 from jpcerrone/fix_static_vars_refs
Browse files Browse the repository at this point in the history
Fix errors destroying script with static variables
  • Loading branch information
akien-mga committed Jun 21, 2023
2 parents 1e44b47 + 8ce8216 commit f2ce0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gdscript/gdscript.cpp
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit f2ce0b6

Please sign in to comment.