Fix autoconnect bug,

This commit is contained in:
Jonathan Naylor 2017-03-25 11:42:07 +00:00
parent 0153b54420
commit 62f45b6c10

View file

@ -154,7 +154,13 @@ void CWiresX::setParrot(const std::string& address, unsigned int port)
bool CWiresX::start()
{
return m_reflectors.load();
bool ret = m_reflectors.load();
if (!ret)
return false;
m_reflectors.reload();
return true;
}
WX_STATUS CWiresX::process(const unsigned char* data, const unsigned char* source, unsigned char fi, unsigned char dt, unsigned char fn, unsigned char ft)