diff --git a/nano/node/bootstrap.cpp b/nano/node/bootstrap.cpp index 4776840864..3ad2e1c776 100644 --- a/nano/node/bootstrap.cpp +++ b/nano/node/bootstrap.cpp @@ -1115,7 +1115,10 @@ void nano::bootstrap_attempt::pool_connection (std::shared_ptr lock (mutex); - idle.push_front (client_a); + if (!stopped && !client_a->pending_stop) + { + idle.push_front (client_a); + } } condition.notify_all (); }