mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 09:56:35 +02:00
check if sessions list is empty
This commit is contained in:
parent
a4762fe65c
commit
6885761f87
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ namespace datagram
|
|||
|
||||
void DatagramDestination::CleanUp ()
|
||||
{
|
||||
if (m_Sessions.empty ()) return;
|
||||
auto now = i2p::util::GetMillisecondsSinceEpoch();
|
||||
LogPrint(eLogDebug, "DatagramDestination: clean up sessions");
|
||||
std::lock_guard<std::mutex> lock(m_SessionsMutex);
|
||||
|
|
Loading…
Add table
Reference in a new issue