mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
resuse instance of local destination upon restart
This commit is contained in:
parent
eff0e13f31
commit
a0f43d9772
7 changed files with 50 additions and 29 deletions
2
SAM.cpp
2
SAM.cpp
|
@ -599,7 +599,7 @@ namespace stream
|
|||
for (auto it1 : it->second.sockets)
|
||||
delete it1;
|
||||
it->second.sockets.clear ();
|
||||
DeleteLocalDestination (it->second.localDestination);
|
||||
it->second.localDestination->Stop ();
|
||||
m_Sessions.erase (it);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue