mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Make CCheckQueue destructor stop worker threads
This commit is contained in:
parent
be4ff3060b
commit
d03eaacbcf
9 changed files with 2 additions and 29 deletions
|
|
@ -2047,11 +2047,6 @@ DisconnectResult Chainstate::DisconnectBlock(const CBlock& block, const CBlockIn
|
|||
return fClean ? DISCONNECT_OK : DISCONNECT_UNCLEAN;
|
||||
}
|
||||
|
||||
void ChainstateManager::StopScriptCheckWorkerThreads()
|
||||
{
|
||||
m_script_check_queue.StopWorkerThreads();
|
||||
}
|
||||
|
||||
/**
|
||||
* Threshold condition checker that triggers when unknown versionbits are seen on the network.
|
||||
*/
|
||||
|
|
@ -5754,8 +5749,6 @@ ChainstateManager::ChainstateManager(const util::SignalInterrupt& interrupt, Opt
|
|||
|
||||
ChainstateManager::~ChainstateManager()
|
||||
{
|
||||
StopScriptCheckWorkerThreads();
|
||||
|
||||
LOCK(::cs_main);
|
||||
|
||||
m_versionbitscache.Clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue