levin_protocol_handler_async: call handler destroy function on dtor

This commit is contained in:
moneromooo-monero 2017-12-11 18:33:37 +00:00
parent f51bac990e
commit dba2de61e7
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -97,6 +97,7 @@ public:
async_protocol_handler_config():m_pcommands_handler(NULL), m_pcommands_handler_destroy(NULL), m_max_packet_size(LEVIN_DEFAULT_MAX_PACKET_SIZE) async_protocol_handler_config():m_pcommands_handler(NULL), m_pcommands_handler_destroy(NULL), m_max_packet_size(LEVIN_DEFAULT_MAX_PACKET_SIZE)
{} {}
~async_protocol_handler_config() { set_handler(NULL, NULL); }
void del_out_connections(size_t count); void del_out_connections(size_t count);
}; };