diff options
| author | Alexander Blair <snipa@jagtech.io> | 2020-01-16 17:27:15 -0800 |
|---|---|---|
| committer | Alexander Blair <snipa@jagtech.io> | 2020-01-16 17:27:15 -0800 |
| commit | 3acb22b889168e8a8f326bd9a6778623861a1bc2 (patch) | |
| tree | ce8c7765e5b797bfa0a1a65391d0c406d67e82ad /tests | |
| parent | e49a055e89b2d335da34250d2793698804c50df2 (diff) | |
| parent | 27522aaa124a4a84091c3afaa85898dea2251c10 (diff) | |
| download | monzero-core-3acb22b889168e8a8f326bd9a6778623861a1bc2.tar.gz monzero-core-3acb22b889168e8a8f326bd9a6778623861a1bc2.tar.xz monzero-core-3acb22b889168e8a8f326bd9a6778623861a1bc2.zip | |
Merge pull request #6115
27522aaa core_tests: reset thread pool between tests (moneromooo-monero)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/core_tests/chaingen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h index a748ce057..12effffcf 100644 --- a/tests/core_tests/chaingen.h +++ b/tests/core_tests/chaingen.h @@ -47,6 +47,7 @@ #include "include_base_utils.h" #include "common/boost_serialization_helper.h" #include "common/command_line.h" +#include "common/threadpool.h" #include "cryptonote_basic/account_boost_serialization.h" #include "cryptonote_basic/cryptonote_basic.h" @@ -775,6 +776,7 @@ inline bool do_replay_events_get_core(std::vector<test_event_entry>& events, cry t_test_class validator; bool ret = replay_events_through_core<t_test_class>(c, events, validator); + tools::threadpool::getInstance().recycle(); // c.deinit(); return ret; } |
