Generate a d.ts using modified dts-generator, see #434

This commit is contained in:
dcode
2019-05-27 04:07:43 +02:00
parent 4a308aa50e
commit dece239d78
11 changed files with 6054 additions and 10 deletions

View File

@ -357,7 +357,7 @@ function testInstantiate(basename, binaryBuffer, name) {
console.log(colorsUtil.white(" [exit " + code + "]\n"));
}
});
let leakCount = rtr.leakCount;
let leakCount = rtr.check();
if (leakCount) {
let msg = "memory leak detected: " + leakCount + " leaking";
console.log("- " + colorsUtil.red("rtrace " + name + " ERROR: ") + msg);