Describe the bug
When the destructor is called on a PZEM004Tv30 using SoftwareSerial, the library deletes the _serial, but _serial is declared as Stream*, which doesn't actually call the proper SoftwareSerial's destructor
To Reproduce
Steps to reproduce the behavior:
Create a new PZEM004Tv30 using SoftwareSerial
Delete it
SoftwareSerial is not closed and memory is leaked (on Espressif platforms you can check this with ESP.freeHeap())
Describe the bug When the destructor is called on a PZEM004Tv30 using SoftwareSerial, the library deletes the _serial, but _serial is declared as Stream*, which doesn't actually call the proper SoftwareSerial's destructor
To Reproduce Steps to reproduce the behavior: