MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / Stop

Method Stop

libi2pd/Destination.cpp:150–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 }
149
150 void LeaseSetDestination::Stop ()
151 {
152 m_CleanupTimer.cancel ();
153 m_PublishConfirmationTimer.cancel ();
154 m_PublishVerificationTimer.cancel ();
155 if (m_Pool)
156 {
157 m_Pool->SetLocalDestination (nullptr);
158 i2p::tunnel::tunnels.StopTunnelPool (m_Pool);
159 }
160 SaveTags ();
161 CleanUp (); // GarlicDestination
162 }
163
164
165 bool LeaseSetDestination::Reconfigure (const i2p::util::Mapping& params)

Callers 1

SetPrivateKeysMethod · 0.45

Calls 3

LogPrintFunction · 0.85
StopTunnelPoolMethod · 0.80
SetLocalDestinationMethod · 0.45

Tested by

no test coverage detected