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.
master
Glenn Maynard 6 years ago
parent 478a0618fb
commit 879df7152c
  1. 2
      sdk/Windows/SMXDevice.cpp

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

Loading…
Cancel
Save