forked from lthn/blockchain
attempt to fix #127
This commit is contained in:
parent
1b6fff2bf3
commit
fdddf58ebf
1 changed files with 2 additions and 2 deletions
|
|
@ -133,12 +133,12 @@ class connection
|
|||
volatile uint32_t& m_ref_sockets_count;
|
||||
i_connection_filter*& m_pfilter;
|
||||
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;
|
||||
std::list<boost::shared_ptr<connection<t_protocol_handler>>> m_self_refs; // add_ref/release support
|
||||
critical_section m_self_refs_lock;
|
||||
};
|
||||
|
||||
/************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue