1
0
Fork 0
forked from lthn/blockchain

added huge comment to prevent future shoot in the foot

This commit is contained in:
cryptozoidberg 2019-10-13 01:38:55 +02:00
parent fdddf58ebf
commit 5dabc72bda
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -135,10 +135,10 @@ class connection
volatile bool m_is_multithreaded;
std::list<boost::shared_ptr<connection<t_protocol_handler>>> m_self_refs; // add_ref/release support
critical_section m_self_refs_lock;
//this should be the last one, because it could be wait on destructor, while other activities possible on other threads
t_protocol_handler m_protocol_handler;
//typename t_protocol_handler::config_type m_dummy_config;
t_protocol_handler m_protocol_handler;
//this should be the last line with m_protocol_handler, because it could be wait on destructor, while other activities possible on other threads
//DON'T ADD ANYTHING HERE!!!
};
/************************************************************************/