Fix m_bSendingConfig not being reset on close.

This could cause us to stop sending config updates, since we're still
waiting for the previous one to complete.  This is probably the cause
of threshold changes, etc. not being applied.
This commit is contained in:
Glenn Maynard 2018-12-29 22:11:30 -06:00
parent 478a0618fb
commit 879df7152c

View File

@ -71,6 +71,8 @@ void SMX::SMXDevice::CloseDevice()
m_pConnection->Close();
m_bHaveConfig = false;
m_bSendConfig = false;
m_bSendingConfig = false;
m_bWaitingForConfigResponse = false;
CallUpdateCallback(SMXUpdateCallback_Updated);
}