mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-21 16:49:10 +01:00
cancel LeaseSet creation timer before destination termination
This commit is contained in:
parent
48f1514053
commit
23e323438a
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue