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
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -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()