Amruta
Amruta
For future reference, if anyone needs, this issue is due to reading invalid memory location like already freed pointer.
This also happens if the task doesn't get enough time to execute. I have faced this and solved by reducing number of tasks and giving higher priority to mqtt task
@leonpenang set `auto_reconnect` variable in `mqtt_settings`. It solves the issue of re-connection. However if you need `reconnect` callback then you need to add it in `mqtt_settings` definition.