From 347985a8a32bd826c95f33aa2eeba5cd1f6b149e Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Thu, 24 Jun 2021 19:07:28 +0300 Subject: [PATCH] tests: Stop g_txindex properly (#4205) --- src/test/test_dash.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/test_dash.cpp b/src/test/test_dash.cpp index 6c8e78c62c..25c91b243b 100644 --- a/src/test/test_dash.cpp +++ b/src/test/test_dash.cpp @@ -136,6 +136,8 @@ TestingSetup::~TestingSetup() { llmq::InterruptLLMQSystem(); llmq::StopLLMQSystem(); + g_txindex->Interrupt(); + g_txindex->Stop(); g_txindex.reset(); threadGroup.interrupt_all(); threadGroup.join_all();