mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Switch off the D-Star network when not in D-Star mode.
This commit is contained in:
@@ -46,8 +46,6 @@ m_pollTimer(1000U, 60U)
|
||||
|
||||
CStopWatch stopWatch;
|
||||
::srand(stopWatch.start());
|
||||
|
||||
m_pollTimer.start();
|
||||
}
|
||||
|
||||
CDStarNetwork::~CDStarNetwork()
|
||||
@@ -61,6 +59,8 @@ bool CDStarNetwork::open()
|
||||
if (m_address.s_addr == INADDR_NONE)
|
||||
return false;
|
||||
|
||||
m_pollTimer.start();
|
||||
|
||||
return m_socket.open();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user