1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Revert recently added approach to cross-thread lambda survival

Commits reverted:
- 1ed6919148
- 271511726b
This commit is contained in:
Pedro J. Estébanez
2023-11-22 18:53:48 +01:00
parent c2f8fb3015
commit f26328e9a3
4 changed files with 16 additions and 107 deletions

View File

@@ -296,7 +296,5 @@ GDScriptLambdaSelfCallable::GDScriptLambdaSelfCallable(Object *p_self, GDScriptF
}
GDScriptLambdaSelfCallable::~GDScriptLambdaSelfCallable() {
if (updatable_func_ptr_element) {
GDScript::_remove_func_ptr_to_update(updatable_func_ptr_element);
}
GDScript::_remove_func_ptr_to_update(updatable_func_ptr_element);
}