bertmelis / espMqttClient

MQTT 3.1.1 client library for the Espressif devices ESP8266 and ESP32 on the Arduino framework.
https://www.emelis.net/espMqttClient/
MIT License
92 stars 21 forks source link

don't copy incoming packet #125

Closed bertmelis closed 6 months ago

bertmelis commented 6 months ago

This is (probably) the idea behind PR of @lumapu: https://github.com/bertmelis/espMqttClient/pull/100, wrongfully closed.

lumapu commented 6 months ago

cool that you remember me 😊. Yes I wanted to eliminate coping the object. As I remember you showed as assembly that my change had no effect. Hopefully this fix fix it.

bertmelis commented 6 months ago

Well, the assembly didn't show the problem. I was wrong.