madhephaestus / ESP32Servo

Arduino-compatible servo library for the ESP32
139 stars 55 forks source link

Fix memory leak in tone/noTone #13

Closed FedericoBusero closed 4 years ago

FedericoBusero commented 4 years ago

When calling noTone after tone, this will detach but not delete the ESP32PWM object. This creates a memory leak.