5 Replies Latest reply on Oct 27, 2017 8:55 PM by AxLi_1746341

    [Bug Report] MQTT Core Deinit

      This is in WICED 5.0.

       

      File: libraries/protocols/MQTT/mqtt_network.c

      Function: wiced_result_t mqtt_core_deinit( mqtt_connection_t *conn )

       

      The bug is that it de-inits the queue before waking up the thread, causing a queue error since the thread isn't aware that the queue is deleted already.

       

      I moved wiced_rtos_deinit_queue( &mqtt_socket->queue ); to after deleting the thread. Now it works fine.

       

      Tagging MichaelF_56