diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-08-26 10:18:39 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-08-26 10:18:06 -0400 |
commit | faf4a9b674186923f8c837e3621d147f504c1944 (patch) | |
tree | e673b6415c0dee4fd0d023454f1935eb1eaa0bfc /src | |
parent | 737670c036e802e0fd8b51efffb41131d08f0204 (diff) | |
download | bitcoin-faf4a9b674186923f8c837e3621d147f504c1944.tar.xz |
qa: Stop txindex thread before calling destructor
Diffstat (limited to 'src')
-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() |