diff --git a/unit_tests/partitioner/recursive_bisection.cpp b/unit_tests/partitioner/recursive_bisection.cpp index ecbf3cc2e..cd6eec5d1 100644 --- a/unit_tests/partitioner/recursive_bisection.cpp +++ b/unit_tests/partitioner/recursive_bisection.cpp @@ -7,9 +7,6 @@ #include -// make sure not to leak in recursive bisection -#include -tbb::global_control scheduler(tbb::global_control::max_allowed_parallelism, 2); using namespace osrm::partitioner; using namespace osrm::util; diff --git a/unit_tests/util/static_rtree.cpp b/unit_tests/util/static_rtree.cpp index 14666a13e..34eb18994 100644 --- a/unit_tests/util/static_rtree.cpp +++ b/unit_tests/util/static_rtree.cpp @@ -24,10 +24,6 @@ #include #include -// explicit TBB scheduler init to register resources cleanup at exit -#include -tbb::global_control scheduler(tbb::global_control::max_allowed_parallelism, 2); - BOOST_AUTO_TEST_SUITE(static_rtree) using namespace osrm;