mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
stop destination's thread before cleanup
This commit is contained in:
parent
ea9c69cd53
commit
df787060c3
|
@ -180,6 +180,7 @@ namespace client
|
|||
i2p::tunnel::tunnels.StopTunnelPool (m_Pool);
|
||||
}
|
||||
SaveTags ();
|
||||
m_Service.stop (); // make sure we don't process more messages after this point. TODO: implement it better
|
||||
CleanUp (); // GarlicDestination
|
||||
}
|
||||
|
||||
|
|
|
@ -75,6 +75,7 @@ namespace i2p
|
|||
if (m_CongestionUpdateTimer)
|
||||
m_CongestionUpdateTimer->cancel ();
|
||||
m_Service->Stop ();
|
||||
CleanUp (); // GarlicDestination
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue