mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
cancel LeaseSet creation timer before destination termination
This commit is contained in:
parent
48f1514053
commit
23e323438a
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2013-2023, The PurpleI2P Project
|
* Copyright (c) 2013-2024, The PurpleI2P Project
|
||||||
*
|
*
|
||||||
* This file is part of Purple i2pd project and licensed under BSD3
|
* This file is part of Purple i2pd project and licensed under BSD3
|
||||||
*
|
*
|
||||||
@ -33,9 +33,9 @@ namespace client
|
|||||||
|
|
||||||
void I2CPDestination::Stop ()
|
void I2CPDestination::Stop ()
|
||||||
{
|
{
|
||||||
|
m_LeaseSetCreationTimer.cancel ();
|
||||||
LeaseSetDestination::Stop ();
|
LeaseSetDestination::Stop ();
|
||||||
m_Owner = nullptr;
|
m_Owner = nullptr;
|
||||||
m_LeaseSetCreationTimer.cancel ();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void I2CPDestination::SetEncryptionPrivateKey (const uint8_t * key)
|
void I2CPDestination::SetEncryptionPrivateKey (const uint8_t * key)
|
||||||
|
Loading…
Reference in New Issue
Block a user