diff --git a/device/device.cpp b/device/device.cpp index 5940444..db261c9 100644 --- a/device/device.cpp +++ b/device/device.cpp @@ -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)) {