mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
updates peerImp to correctly cancel protocol start if shutdown was initiated
This commit is contained in:
@@ -902,6 +902,9 @@ void
|
||||
PeerImp::doProtocolStart()
|
||||
{
|
||||
// a shutdown was initiated before the handshare, there is nothing to do
|
||||
if (shutdown_)
|
||||
return tryAsyncShutdown();
|
||||
|
||||
onReadMessage(error_code(), 0);
|
||||
|
||||
// Send all the validator lists that have been loaded
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include <boost/thread/shared_mutex.hpp>
|
||||
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
#include <queue>
|
||||
|
||||
Reference in New Issue
Block a user