mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
cleans up acceptor on destruction of endpoint transport component references #217
This commit is contained in:
@@ -92,6 +92,7 @@ public:
|
||||
|
||||
~endpoint() {
|
||||
// clean up our io_service if we were initialized with an internal one.
|
||||
m_acceptor.reset();
|
||||
if (m_state != UNINITIALIZED && !m_external_io_service) {
|
||||
delete m_io_service;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user