Make CCheckQueue destructor stop worker threads

This commit is contained in:
Hennadii Stepanov
2023-07-07 10:37:36 +01:00
parent be4ff3060b
commit d03eaacbcf
9 changed files with 2 additions and 29 deletions

View File

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