This repository was archived by the owner on Jun 19, 2024. It is now read-only.

Description
So it appears there is a memory leak with DatabindJavascriptMethodHandler.Data. I have some javascript that is ran "every frame"
setInterval(() => {
isEnabled = module.isEnabled();
}, 0);
the module instance is retrieved from java.importClass. Of course setInterval isn't ideal, but I need to pass data over and it changes constantly. The setInterval function is called A LOT, are are more then 50 instances of it. But it just shows the problem.

There are lots of DatabindJavascriptMethodHandler.Data instances being created every second but they are never deleted?