Merge pull request #322 from shawnchain/fix-issue-321

This commit is contained in:
Jonathan Naylor 2025-04-23 09:14:34 +01:00 committed by GitHub
commit e61d856c6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();