You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Make languages' thread enter/exit more resilient
This commit is contained in:
@@ -54,6 +54,7 @@ class ScriptServer {
|
||||
static int _language_count;
|
||||
static bool languages_ready;
|
||||
static Mutex languages_mutex;
|
||||
static thread_local bool thread_entered;
|
||||
|
||||
static bool scripting_enabled;
|
||||
static bool reload_scripts_on_save;
|
||||
@@ -101,6 +102,7 @@ public:
|
||||
static void init_languages();
|
||||
static void finish_languages();
|
||||
static bool are_languages_initialized();
|
||||
static bool thread_is_entered();
|
||||
};
|
||||
|
||||
class PlaceHolderScriptInstance;
|
||||
|
||||
Reference in New Issue
Block a user