Skip to content

Commit e806183

Browse files
author
MarcoFalke
committed
Merge #14071: qa: Stop txindex thread before calling destructor
faf4a9b qa: Stop txindex thread before calling destructor (MarcoFalke) Pull request description: Same as #13894, but for the tests. Tree-SHA512: a21d9f8ad8dc9703217d1808cb14bd969903c364fe30bbdc0dd2df170ddc0cbaba98b0bde28bc21ff1319222aaf6cb4f1b2c45cd6b236fe3c645a92eab6bacba
2 parents 427253c + faf4a9b commit e806183

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/txindex_tests.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ BOOST_FIXTURE_TEST_CASE(txindex_initial_sync, TestChain100Setup)
6161
BOOST_ERROR("Read incorrect tx");
6262
}
6363
}
64+
65+
txindex.Stop(); // Stop thread before calling destructor
6466
}
6567

6668
BOOST_AUTO_TEST_SUITE_END()

0 commit comments

Comments
 (0)