Fix typo keeping bootstraps open during exit (#842)

This commit is contained in:
Russel Waters 2018-05-03 13:38:27 -04:00 committed by clemahieu
commit e68bad18d3

View file

@ -1287,7 +1287,7 @@ void rai::bootstrap_listener::stop ()
connections_l.swap (connections);
}
acceptor.close ();
for (auto & i : connections)
for (auto & i : connections_l)
{
auto connection (i.second.lock ());
if (connection)