From a9d55cc1c48c4b9926cc60877d72b60e4aaa3944 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 4 Aug 2020 15:25:06 +0200 Subject: [PATCH] Cleanup ThreadPoolExecuteJob's _execute. --- thread_pool_execute_job.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/thread_pool_execute_job.cpp b/thread_pool_execute_job.cpp index 7db8986..11644ee 100644 --- a/thread_pool_execute_job.cpp +++ b/thread_pool_execute_job.cpp @@ -45,15 +45,9 @@ void ThreadPoolExecuteJob::_execute() { ERR_FAIL_COND(!_object); ERR_FAIL_COND(!_object->has_method(_method)); - set_current_run_stage(0); - #if VERSION_MAJOR < 4 - set_start_time(OS::get_singleton()->get_system_time_msecs()); - Variant::CallError error; #else - set_start_time(OS::get_singleton()->get_ticks_msec()); - Callable::CallError error; #endif