File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Storage Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4848-- - The ChainDB is used to create 'Follower's (which in turn contain
4949-- 'Iterator's).
5050--
51- -- These resources must eventually be freed. See function
52- -- 'Ouroboros.Consensus.Node.runWith' for an example of an approach
53- -- taken to resource management using a resource registry.
51+ -- These resources must eventually be freed.
5452--
53+ -- Threads that make use of the ChainDB to allocate resources *MUST* be closed
54+ -- before the ChainDB is closed. See 'Ouroboros.Consensus.Node.runWith' for the
55+ -- approach we follow in consensus to ensure this principle.
5556module Ouroboros.Consensus.Storage.ChainDB
5657 ( module Ouroboros.Consensus.Storage.ChainDB.API
5758 , module Ouroboros.Consensus.Storage.ChainDB.Impl
You can’t perform that action at this time.
0 commit comments