Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let leakWarning carry the string representation, not the stack itself
At least with recent Chrome, I ran into a situation where an object of mine apparently didn't get garbage collected because it was retained via such a leakWarning stack trace. (I'm not sure about the internal workings of that, though; but the object started to get garbage collected once I did this change.) (cherry-picked from 46d9cb0 at <emscripten-core#22488> "Let leakWarning carry the string representation, not the stack itself")
- Loading branch information