From ec8e3574f9171cd157caf8cef7bbb816754db334 Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 16 Dec 2014 21:26:29 -0500 Subject: [PATCH] delete local destination on session close --- SAM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SAM.cpp b/SAM.cpp index 860aadeb..f85b686c 100644 --- a/SAM.cpp +++ b/SAM.cpp @@ -681,7 +681,7 @@ namespace client for (auto it1: it->second.sockets) it1->CloseStream (); it->second.sockets.clear (); - it->second.localDestination->Stop (); + i2p::client::context.DeleteLocalDestination (it->second.localDestination); m_Sessions.erase (it); } }