aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-08-26 10:18:39 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-08-27 13:44:14 -0400
commitfab0fbefcf51f38aa858423017b545df6d098311 (patch)
treeeb276341a3e8e18dbf05b467ed6ec518ab587afa /src
parentb5ec6d4bf8a8ca18ca520e2f484e3ddd2d1138a3 (diff)
qa: Stop txindex thread before calling destructor
Github-Pull: #14071 Rebased-From: faf4a9b674186923f8c837e3621d147f504c1944
Diffstat (limited to 'src')
-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()