mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
d68b9c20d6
Added guards to all C# script interface calls to attach the current thread for the current scope if the thread is not already attached. This is far from ideal, as attaching the thread is not cheap and all managed thread local storage is lost when we detach the thread at the end of the calls. However, it's the best we can do for now to avoid crashing when an unattached thread tries to interact with C# code. |
||
---|---|---|
.. | ||
build_scripts | ||
doc_classes | ||
editor | ||
glue | ||
icons | ||
mono_gd | ||
utils | ||
__init__.py | ||
.gitignore | ||
class_db_api_json.cpp | ||
class_db_api_json.h | ||
config.py | ||
csharp_script.cpp | ||
csharp_script.h | ||
godotsharp_defs.h | ||
godotsharp_dirs.cpp | ||
godotsharp_dirs.h | ||
mono_gc_handle.cpp | ||
mono_gc_handle.h | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
signal_awaiter_utils.cpp | ||
signal_awaiter_utils.h |