mirror of
https://github.com/oe7drt/YSFClients.git
synced 2025-12-06 05:32:02 +01:00
Merge pull request #322 from shawnchain/fix-issue-321
This commit is contained in:
commit
e61d856c6b
|
|
@ -119,6 +119,8 @@ bool CYSFNetwork::setDestination(const std::string& name, const sockaddr_storage
|
|||
m_addrLen = addrLen;
|
||||
m_linked = false;
|
||||
|
||||
close();
|
||||
|
||||
bool ret = open();
|
||||
if (ret) {
|
||||
m_pollTimer.start();
|
||||
|
|
|
|||
Loading…
Reference in a new issue