mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-11-15 14:59:38 +01:00
Removes unnecessary outbox_cleanup
The states that were cleaned by this function, CONFIRMED, are no longer reachable. Itens were marked with this status previously in PUBCOMP and PUBREL receive handlers.
This commit is contained in:
@@ -1456,7 +1456,6 @@ static void esp_mqtt_task(void *pv)
|
||||
client->state = MQTT_STATE_INIT;
|
||||
}
|
||||
|
||||
outbox_cleanup(client->outbox, OUTBOX_MAX_SIZE);
|
||||
break;
|
||||
case MQTT_STATE_WAIT_RECONNECT:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user