mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
levin_protocol_handler_async: call handler destroy function on dtor
This commit is contained in:
parent
f51bac990e
commit
dba2de61e7
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue