mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
set state to closing after we send our close frame
This commit is contained in:
@@ -1712,6 +1712,8 @@ lib::error_code connection<config>::send_close_frame(close::status::value code,
|
||||
msg->set_terminal(true);
|
||||
}
|
||||
|
||||
m_state = session::state::closing;
|
||||
|
||||
bool needs_writing = false;
|
||||
{
|
||||
scoped_lock_type lock(m_write_lock);
|
||||
|
||||
Reference in New Issue
Block a user