Skip to content

Commit

Permalink
HACK: Suppress leakWarning for now
Browse files Browse the repository at this point in the history
...due to <emscripten-core#22575> "Embind
regression: Leaked C++ object when calling from C++ to JS"
  • Loading branch information
stbergmann committed Oct 1, 2024
1 parent cb1b888 commit 949ee1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/embind/embind.js
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ var LibraryEmbind = {
// at run-time, not build-time.
finalizationRegistry = new FinalizationRegistry((info) => {
#if ASSERTIONS
console.warn(info.leakWarning);
//HACK: suppressed for now due to <https://github.com/emscripten-core/emscripten/issues/22575> "Embind regression: Leaked C++ object when calling from C++ to JS": console.warn(info.leakWarning);
#endif
releaseClassHandle(info.$$);
});
Expand Down

0 comments on commit 949ee1d

Please sign in to comment.