Skip to content

Fix temp file handling in js_optimizer - #8642

Merged
kripken merged 1 commit into
incomingfrom
leak
May 20, 2019
Merged

kripken merged 1 commit into
incomingfrom
leak

Conversation

@kripken

@kripken kripken commented May 20, 2019

Copy link
Copy Markdown
Member
  • Make sure to note temp files that we create there. We missed one.
  • Don't eagerly remove temp files there - they will be removed later anyhow. And we do need to keep alive the temp file that we return.

@kripken

kripken commented May 20, 2019

Copy link
Copy Markdown
Member Author

This doesn't hit problems on CI currently apparently due to timing. With my upcoming wasm2js optimization PR, without this change it would error.

@kripken
kripken merged commit 6fc6ec0 into incoming May 20, 2019
@kripken
kripken deleted the leak branch May 20, 2019 22:56
VirtualTim pushed a commit to VirtualTim/emscripten that referenced this pull request May 21, 2019
*    Make sure to note temp files that we create there. We missed one.
*    Don't eagerly remove temp files there - they will be removed later anyhow. And we do need to keep alive the temp file that we return.
VirtualTim added a commit to VirtualTim/emscripten that referenced this pull request May 23, 2019
VirtualTim added a commit to VirtualTim/emscripten that referenced this pull request May 23, 2019
belraquib pushed a commit to belraquib/emscripten that referenced this pull request Dec 23, 2020
*    Make sure to note temp files that we create there. We missed one.
*    Don't eagerly remove temp files there - they will be removed later anyhow. And we do need to keep alive the temp file that we return.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants