diff --git a/src/common/on_thread_executor.h b/src/common/on_thread_executor.h index a498afdf74..2ea92c9c12 100644 --- a/src/common/on_thread_executor.h +++ b/src/common/on_thread_executor.h @@ -22,10 +22,9 @@ public: private: void worker_thread(); - std::thread _worker_thread; - std::mutex _task_mutex; std::condition_variable _task_cv; std::atomic_bool _shutdown_request; std::queue> _task_queue; + std::thread _worker_thread; };