GDScript: Fix interrupted coroutines not clearing

This commit is contained in:
Danil Alexeev committed 2026-02-24 12:04:40 +03:00
1 parent 8120fb1242
commit ba8b2a1ff0
3 files changed
+42

No files matched your search

+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();
}
}