Browse Source

fixed hand at shutdown

pull/163/head
orignal 10 years ago
parent
commit
93857b690a
  1. 3
      Transports.cpp

3
Transports.cpp

@ -445,6 +445,8 @@ namespace transport
} }
void Transports::HandlePeerCleanupTimer (const boost::system::error_code& ecode) void Transports::HandlePeerCleanupTimer (const boost::system::error_code& ecode)
{
if (ecode != boost::asio::error::operation_aborted)
{ {
auto ts = i2p::util::GetSecondsSinceEpoch (); auto ts = i2p::util::GetSecondsSinceEpoch ();
for (auto it = m_Peers.begin (); it != m_Peers.end (); ) for (auto it = m_Peers.begin (); it != m_Peers.end (); )
@ -462,4 +464,5 @@ namespace transport
} }
} }
} }
}

Loading…
Cancel
Save