From 271511726b02848783904429c8dde857f6266429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Thu, 9 Nov 2023 12:38:01 +0100 Subject: [PATCH] Fixup thread-owned lambda bookkeeping on thread exit --- modules/gdscript/gdscript.cpp | 104 +++++++++++++++--- modules/gdscript/gdscript.h | 13 ++- modules/gdscript/gdscript_lambda_callable.cpp | 4 +- modules/gdscript/gdscript_lambda_callable.h | 4 +- 4 files changed, 107 insertions(+), 18 deletions(-) diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index 6245cc85a0c..a6e5e0eaeaa 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -1387,33 +1387,106 @@ String GDScript::debug_get_script_name(const Ref