From 23e323438abe47d13aea7a727a71a87917722619 Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 23 Jul 2024 08:35:43 -0400 Subject: [PATCH] cancel LeaseSet creation timer before destination termination --- libi2pd_client/I2CP.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libi2pd_client/I2CP.cpp b/libi2pd_client/I2CP.cpp index 2c53e766..b18f7e7c 100644 --- a/libi2pd_client/I2CP.cpp +++ b/libi2pd_client/I2CP.cpp @@ -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 * @@ -33,9 +33,9 @@ namespace client void I2CPDestination::Stop () { + m_LeaseSetCreationTimer.cancel (); LeaseSetDestination::Stop (); m_Owner = nullptr; - m_LeaseSetCreationTimer.cancel (); } void I2CPDestination::SetEncryptionPrivateKey (const uint8_t * key)