mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 11:56:31 +02:00
Merge pull request #5910
1b91beb
abstract_tcp_server2: fix lingering connections (moneromooo-monero)
This commit is contained in:
commit
15b9b4e047
@ -748,6 +748,11 @@ PRAGMA_WARNING_DISABLE_VS(4355)
|
|||||||
MERROR("Resetting timer on a dead object");
|
MERROR("Resetting timer on a dead object");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (m_was_shutdown)
|
||||||
|
{
|
||||||
|
MERROR("Setting timer on a shut down object");
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (add)
|
if (add)
|
||||||
ms += m_timer.expires_from_now();
|
ms += m_timer.expires_from_now();
|
||||||
m_timer.expires_from_now(ms);
|
m_timer.expires_from_now(ms);
|
||||||
|
Loading…
Reference in New Issue
Block a user