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 587a1b3 commit f1b8f8fCopy full SHA for f1b8f8f
tools/shared.py
@@ -404,8 +404,8 @@ def get(self, suffix):
404
return named_file
405
406
def clean(self):
407
- if DEBUG:
408
- print >> sys.stderr, 'not cleaning up temp files since in debug mode, see them in %s' % EMSCRIPTEN_TEMP_DIR
+ if os.environ.get('EMCC_DEBUG_SAVE'):
+ print >> sys.stderr, 'not cleaning up temp files since in debug-save mode, see them in %s' % EMSCRIPTEN_TEMP_DIR
409
return
410
for filename in self.to_clean:
411
try_delete(filename)
0 commit comments