Closed martaisty closed 1 year ago
Sorry, never mind. I spotted this in setOptions
https://github.com/dawidchyrzynski/arduino-home-assistant/blob/0fc32a5bad861ca76767ff13187f8afabcc4f9a0/src/device-types/HASelect.cpp#L49-L52
That's why.. Now I understand, closing the issue
Hi @dawidchyrzynski , excellent library :+1: Could you please explain this destructor logic in HASelect? Isn't it a bug with a memory leak? https://github.com/dawidchyrzynski/arduino-home-assistant/blob/0fc32a5bad861ca76767ff13187f8afabcc4f9a0/src/device-types/HASelect.cpp#L25-L29
I suppose instead of this:
it should be
Sorry, if this is a silly question, last time I worked with C++ was at university :smile: