mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-25 08:52:26 +00:00
Merge pull request #5910
1b91beb
abstract_tcp_server2: fix lingering connections (moneromooo-monero)
This commit is contained in:
commit
15b9b4e047
1 changed files with 5 additions and 0 deletions
|
@ -748,6 +748,11 @@ PRAGMA_WARNING_DISABLE_VS(4355)
|
|||
MERROR("Resetting timer on a dead object");
|
||||
return;
|
||||
}
|
||||
if (m_was_shutdown)
|
||||
{
|
||||
MERROR("Setting timer on a shut down object");
|
||||
return;
|
||||
}
|
||||
if (add)
|
||||
ms += m_timer.expires_from_now();
|
||||
m_timer.expires_from_now(ms);
|
||||
|
|
Loading…
Reference in a new issue