mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Fix for #814, Memory Leak
File isn't closed before being released, it leaks. This test has been verified and tested many times.
This commit is contained in:
@ -44,6 +44,7 @@ File::File(void) {
|
||||
}
|
||||
|
||||
File::~File(void) {
|
||||
close();
|
||||
// Serial.print("Deleted file object");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user