We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdd06e9 commit 9380578Copy full SHA for 9380578
src/js/tabs/onboard_logging.js
@@ -553,7 +553,7 @@ onboard_logging.initialize = function (callback) {
553
// A zero-byte block indicates end-of-file, so we're done
554
mark_saving_dialog_done(startTime, nextAddress, totalBytesCompressed);
555
FileSystem.closeFile(openedFile);
556
- if (alsoErase) {
+ if (!saveCancelled && alsoErase) {
557
conditionallyEraseFlash(maxBytes, nextAddress);
558
}
559
0 commit comments