qa: Stop txindex thread before calling destructor

This commit is contained in:
MarcoFalke
2018-08-26 10:18:39 -04:00
parent 737670c036
commit faf4a9b674

View File

@ -61,6 +61,8 @@ BOOST_FIXTURE_TEST_CASE(txindex_initial_sync, TestChain100Setup)
BOOST_ERROR("Read incorrect tx"); BOOST_ERROR("Read incorrect tx");
} }
} }
txindex.Stop(); // Stop thread before calling destructor
} }
BOOST_AUTO_TEST_SUITE_END() BOOST_AUTO_TEST_SUITE_END()