mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
tests: Remove now-unnecessary manual Unload's
These manual calls to Unload() are no longer necessary because CBlockIndex's no longer live in the heap as of the previous commit.
This commit is contained in:
@@ -99,8 +99,6 @@ BOOST_AUTO_TEST_CASE(chainstatemanager)
|
||||
|
||||
// Let scheduler events finish running to avoid accessing memory that is going to be unloaded
|
||||
SyncWithValidationInterfaceQueue();
|
||||
|
||||
WITH_LOCK(::cs_main, manager.Unload());
|
||||
}
|
||||
|
||||
//! Test rebalancing the caches associated with each chainstate.
|
||||
|
||||
Reference in New Issue
Block a user