mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Removed destructor from File.cpp and SD.h as it leads to unexpected close/destructed objects #814
This commit is contained in:
@ -43,11 +43,6 @@ File::File(void) {
|
||||
//Serial.print("Created empty file object");
|
||||
}
|
||||
|
||||
File::~File(void) {
|
||||
close();
|
||||
// Serial.print("Deleted file object");
|
||||
}
|
||||
|
||||
// returns a pointer to the file name
|
||||
char *File::name(void) {
|
||||
return _name;
|
||||
|
Reference in New Issue
Block a user