diff --git a/nano/node/scheduler/component.cpp b/nano/node/scheduler/component.cpp index 2108c683bb..0d44042448 100644 --- a/nano/node/scheduler/component.cpp +++ b/nano/node/scheduler/component.cpp @@ -39,12 +39,10 @@ void nano::scheduler::component::stop () std::unique_ptr nano::scheduler::component::collect_container_info (std::string const & name) { - nano::unique_lock lock{ mutex }; - auto composite = std::make_unique (name); - //composite->add_component (hinted.collect_container_info ("hinted")); + composite->add_component (hinted.collect_container_info ("hinted")); composite->add_component (manual.collect_container_info ("manual")); - //composite->add_component (optimistic.collect_container_info ("optimistic")); + composite->add_component (optimistic.collect_container_info ("optimistic")); composite->add_component (priority.collect_container_info ("priority")); return composite; } diff --git a/nano/node/scheduler/component.hpp b/nano/node/scheduler/component.hpp index 257902438a..41a3f2b153 100644 --- a/nano/node/scheduler/component.hpp +++ b/nano/node/scheduler/component.hpp @@ -23,7 +23,6 @@ class component final std::unique_ptr manual_impl; std::unique_ptr optimistic_impl; std::unique_ptr priority_impl; - nano::mutex mutex; public: explicit component (nano::node & node);