GDScript: Fix interrupted coroutines not clearing
This commit is contained in:
parent
8120fb1242
commit
ba8b2a1ff0
3 changed files with 42 additions and 0 deletions
|
|
@ -277,5 +277,6 @@ GDScriptFunctionState::~GDScriptFunctionState() {
|
|||
MutexLock lock(GDScriptLanguage::singleton->mutex);
|
||||
scripts_list.remove_from_list();
|
||||
instances_list.remove_from_list();
|
||||
_clear_stack();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue