diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-08-26 22:04:30 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-08-26 22:04:32 -0400 |
commit | e8061831e8cd5947fc25b924a2aa22860ecaf595 (patch) | |
tree | 4196d05dfbacb99f4746719001bb06cd9a61ec79 /src/test | |
parent | 427253cf7e19ed9ef86b45457de41e345676c88e (diff) | |
parent | faf4a9b674186923f8c837e3621d147f504c1944 (diff) |
Merge #14071: qa: Stop txindex thread before calling destructor
faf4a9b674 qa: Stop txindex thread before calling destructor (MarcoFalke)
Pull request description:
Same as #13894, but for the tests.
Tree-SHA512: a21d9f8ad8dc9703217d1808cb14bd969903c364fe30bbdc0dd2df170ddc0cbaba98b0bde28bc21ff1319222aaf6cb4f1b2c45cd6b236fe3c645a92eab6bacba
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/txindex_tests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/txindex_tests.cpp b/src/test/txindex_tests.cpp index be7ee2428b..2a160b9988 100644 --- a/src/test/txindex_tests.cpp +++ b/src/test/txindex_tests.cpp @@ -61,6 +61,8 @@ BOOST_FIXTURE_TEST_CASE(txindex_initial_sync, TestChain100Setup) BOOST_ERROR("Read incorrect tx"); } } + + txindex.Stop(); // Stop thread before calling destructor } BOOST_AUTO_TEST_SUITE_END() |