aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-08-26 10:18:39 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-08-26 10:18:06 -0400
commitfaf4a9b674186923f8c837e3621d147f504c1944 (patch)
treee673b6415c0dee4fd0d023454f1935eb1eaa0bfc
parent737670c036e802e0fd8b51efffb41131d08f0204 (diff)
qa: Stop txindex thread before calling destructor
-rw-r--r--src/test/txindex_tests.cpp2
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()