File tree Expand file tree Collapse file tree 4 files changed +169
-90
lines changed
build/shared/examples/ArduinoISP Expand file tree Collapse file tree 4 files changed +169
-90
lines changed Original file line number Diff line number Diff line change @@ -133,16 +133,19 @@ public EditorConsole(Editor editor) {
133
133
// The files and folders are not deleted on exit because they may be
134
134
// needed for debugging or bug reporting.
135
135
tempFolder = Base .createTempFolder ("console" );
136
+ tempFolder .deleteOnExit ();
136
137
try {
137
138
String outFileName = Preferences .get ("console.output.file" );
138
139
if (outFileName != null ) {
139
140
outFile = new File (tempFolder , outFileName );
141
+ outFile .deleteOnExit ();
140
142
stdoutFile = new FileOutputStream (outFile );
141
143
}
142
144
143
145
String errFileName = Preferences .get ("console.error.file" );
144
146
if (errFileName != null ) {
145
147
errFile = new File (tempFolder , errFileName );
148
+ errFile .deleteOnExit ();
146
149
stderrFile = new FileOutputStream (errFile );
147
150
}
148
151
} catch (IOException e ) {
You can’t perform that action at this time.
0 commit comments