Move global scriptcheckqueue into ChainstateManager class

This commit is contained in:
Hennadii Stepanov
2023-07-07 10:33:11 +01:00
parent 4e78834ec1
commit be4ff3060b
7 changed files with 38 additions and 42 deletions

View File

@@ -290,7 +290,7 @@ epilogue:
// dereferencing and UB.
scheduler.stop();
if (chainman.m_thread_load.joinable()) chainman.m_thread_load.join();
StopScriptCheckWorkerThreads();
chainman.StopScriptCheckWorkerThreads();
GetMainSignals().FlushBackgroundCallbacks();
{