mirror of
https://github.com/ShaYmez/NXDNClients.git
synced 2024-11-26 09:08:47 -05:00
Stop the timeout if the timer isn't running.
This commit is contained in:
parent
2ce25c2d7c
commit
91c35166d5
@ -505,7 +505,7 @@ void CKenwoodNetwork::close()
|
||||
void CKenwoodNetwork::clock(unsigned int ms)
|
||||
{
|
||||
m_timer.clock(ms);
|
||||
if (m_timer.hasExpired()) {
|
||||
if (m_timer.isRunning() && m_timer.hasExpired()) {
|
||||
writeRTCPPing();
|
||||
m_timer.start();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user