levin_protocol_handler_async: call handler destroy function on dtor

release-v0.4.0.1
moneromooo-monero 7 years ago
parent f51bac990e
commit dba2de61e7
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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() { set_handler(NULL, NULL); }
void del_out_connections(size_t count);
};

Loading…
Cancel
Save