Device: Continue script status loop if no response
parent
0fc676e576
commit
17b3018499
|
|
@ -1170,6 +1170,9 @@ void Device::scriptStatusThreadBody()
|
|||
|
||||
const auto resp = getScriptStatus();
|
||||
|
||||
if (!resp)
|
||||
continue;
|
||||
|
||||
//If value changed/was inserted, notify callback
|
||||
if(updateScriptStatusValue(ScriptStatus::CoreMiniRunning, resp->isCoreminiRunning))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue