Potential fix for a crash in OnThreadExecutor (#5840)

This commit is contained in:
Ivan Stošić
2020-08-11 10:39:18 +02:00
committed by GitHub
parent d21201e996
commit b8b6dbe791

View File

@@ -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<std::packaged_task<void()>> _task_queue;
std::thread _worker_thread;
};