1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00

Release buffer/cache on SPIFFS.end() (#5651)

Releases the buffers allocated by the SPIFFS object when/if SPIFFS::end()
is called.
This commit is contained in:
Earle F. Philhower, III
2019-01-25 00:00:09 +00:00
committed by GitHub
parent 4d302f06c9
commit c26102b34c

View File

@ -154,6 +154,9 @@ public:
return;
}
SPIFFS_unmount(&_fs);
_workBuf.reset(nullptr);
_fdsBuf.reset(nullptr);
_cacheBuf.reset(nullptr);
}
bool format() override