Browse Source

fixed race condition on stop

pull/1941/merge
orignal 8 months ago
parent
commit
b91f5a7430
  1. 2
      libi2pd/Transports.cpp

2
libi2pd/Transports.cpp

@ -328,7 +328,6 @@ namespace transport @@ -328,7 +328,6 @@ namespace transport
{
if (m_PeerCleanupTimer) m_PeerCleanupTimer->cancel ();
if (m_PeerTestTimer) m_PeerTestTimer->cancel ();
m_Peers.clear ();
if (m_SSU2Server)
{
@ -353,6 +352,7 @@ namespace transport @@ -353,6 +352,7 @@ namespace transport
delete m_Thread;
m_Thread = nullptr;
}
m_Peers.clear ();
}
void Transports::Run ()

Loading…
Cancel
Save