Add destruction of node resources to destructor
This commit is contained in:
parent
6713a49d69
commit
75fc5c294f
1 changed files with 6 additions and 4 deletions
|
@ -1520,10 +1520,12 @@ block_processor_thread ([this] () { this->block_processor.process_blocks (); })
|
|||
|
||||
rai::node::~node ()
|
||||
{
|
||||
if (config.logging.node_lifetime_tracing ())
|
||||
{
|
||||
std::cerr << "Destructing node\n";
|
||||
}
|
||||
if (config.logging.node_lifetime_tracing ())
|
||||
{
|
||||
std::cerr << "Destructing node\n";
|
||||
}
|
||||
|
||||
stop();
|
||||
}
|
||||
|
||||
void rai::node::send_keepalive (rai::endpoint const & endpoint_a)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue