Open dariusjulian opened 1 year ago
We're running into this same issue. It seems that ProcessMqttMessageBackgroundQueue
is called twice and in the second call it seems for some reason backMessageQueue
is null and clear fails?
Our temp workaround is:
private void ProcessMqttMessageBackgroundQueue()
{
try {
foreach (MqttMsgPublishEventArgs msg in backMessageQueue) {
DecodeMessage(msg.Topic, msg.Message);
}
backMessageQueue.Clear();
}
catch {
DebugLogger.Log("WARNING: BackMessageQueue is null, reinstantiating the list", DebugErrorTypeEnum.error);
backMessageQueue = new List<MqttMsgPublishEventArgs>();
}
}
I'm hoping I can get some help with an issue I'm having. After running a build for 2-3 hours with no interactivity, I start getting this error and the app no longer receives any data from MQTT.
Any one might be of help as to why this might be happening?
Thanks you in advance.