diff options
Diffstat (limited to 'core/core_bind.h')
-rw-r--r-- | core/core_bind.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/core_bind.h b/core/core_bind.h index 665858cd26..8a50d55f3e 100644 --- a/core/core_bind.h +++ b/core/core_bind.h @@ -553,7 +553,7 @@ protected: volatile bool active = false; Object *target_instance = nullptr; StringName target_method; - Thread *thread = nullptr; + Thread thread; static void _bind_methods(); static void _start_func(void *ud); @@ -569,9 +569,6 @@ public: String get_id() const; bool is_active() const; Variant wait_to_finish(); - - _Thread() {} - ~_Thread(); }; VARIANT_ENUM_CAST(_Thread::Priority); |