mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-09 15:50:26 +03: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 New Issue
Block a user