You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fixup thread-owned lambda bookkeeping on thread exit
This commit is contained in:
@@ -296,5 +296,7 @@ GDScriptLambdaSelfCallable::GDScriptLambdaSelfCallable(Object *p_self, GDScriptF
|
||||
}
|
||||
|
||||
GDScriptLambdaSelfCallable::~GDScriptLambdaSelfCallable() {
|
||||
GDScript::_remove_func_ptr_to_update(updatable_func_ptr_element);
|
||||
if (updatable_func_ptr_element) {
|
||||
GDScript::_remove_func_ptr_to_update(updatable_func_ptr_element);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user