mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
reference counter for destinations
This commit is contained in:
parent
1b97f9b6c9
commit
c287fb58bd
5 changed files with 19 additions and 3 deletions
|
@ -694,7 +694,7 @@ namespace client
|
|||
|
||||
ClientDestination::ClientDestination (const i2p::data::PrivateKeys& keys, bool isPublic, const std::map<std::string, std::string> * params):
|
||||
LeaseSetDestination (isPublic, params),
|
||||
m_Keys (keys), m_DatagramDestination (nullptr),
|
||||
m_Keys (keys), m_DatagramDestination (nullptr), m_RefCounter (0),
|
||||
m_ReadyChecker(GetService())
|
||||
{
|
||||
if (isPublic)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue