GDScript: Fix interrupted coroutines not clearing

This commit is contained in:
Danil Alexeev
2026-02-24 12:04:29 +03:00
parent 8120fb1242
commit ba8b2a1ff0
3 changed files with 42 additions and 0 deletions
+1
View File
@@ -277,5 +277,6 @@ GDScriptFunctionState::~GDScriptFunctionState() {
MutexLock lock(GDScriptLanguage::singleton->mutex);
scripts_list.remove_from_list();
instances_list.remove_from_list();
_clear_stack();
}
}