mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-24 16:01:26 +02:00
bitcoin-chainstate: Lock cs_main to UnloadBlockIndex
This was introduced because of a silent merge conflict.
This commit is contained in:
parent
b07fdd7f9e
commit
7a68fe4831
@ -256,7 +256,7 @@ epilogue:
|
||||
}
|
||||
GetMainSignals().UnregisterBackgroundSignalScheduler();
|
||||
|
||||
UnloadBlockIndex(nullptr, chainman);
|
||||
WITH_LOCK(::cs_main, UnloadBlockIndex(nullptr, chainman));
|
||||
|
||||
init::UnsetGlobals();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user