Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
Signed-off-by: pavelkumbrasev <[email protected]>
  • Loading branch information
pavelkumbrasev committed Jul 8, 2024
1 parent a3d8d64 commit 3edd194
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tbb/task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ d1::wait_tree_vertex_interface* get_thread_reference_vertex(d1::wait_tree_vertex
} else {
constexpr std::size_t max_reference_vertex_map_size = 1000;
if (reference_map.size() > max_reference_vertex_map_size) {
// TODO: Research the possibility of using better approach for a clean-up
for (auto it = reference_map.begin(); it != reference_map.end();) {
if (it->second->get_num_child() == 0) {
it->second->~reference_vertex();
Expand Down

0 comments on commit 3edd194

Please sign in to comment.