From 949ee1d40467b80e90a9fdc67155d443426fef2d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 1 Oct 2024 10:57:02 +0200 Subject: [PATCH] HACK: Suppress leakWarning for now ...due to "Embind regression: Leaked C++ object when calling from C++ to JS" --- src/embind/embind.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/embind/embind.js b/src/embind/embind.js index a91a15a83dd3..99044e1d648c 100644 --- a/src/embind/embind.js +++ b/src/embind/embind.js @@ -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 "Embind regression: Leaked C++ object when calling from C++ to JS": console.warn(info.leakWarning); #endif releaseClassHandle(info.$$); });