mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-12 15:55:51 +00:00
@@ -121,6 +121,10 @@ public:
|
|||||||
void
|
void
|
||||||
maybeSendNext()
|
maybeSendNext()
|
||||||
{
|
{
|
||||||
|
// cleanup if needed. can't do this in destructor so it's here
|
||||||
|
if (dead())
|
||||||
|
(*handler_)(ec_, derived().shared_from_this());
|
||||||
|
|
||||||
if (ec_ || sending_ || messages_.empty())
|
if (ec_ || sending_ || messages_.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user