mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03: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
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ epilogue:
|
|||
}
|
||||
GetMainSignals().UnregisterBackgroundSignalScheduler();
|
||||
|
||||
UnloadBlockIndex(nullptr, chainman);
|
||||
WITH_LOCK(::cs_main, UnloadBlockIndex(nullptr, chainman));
|
||||
|
||||
init::UnsetGlobals();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue