Re: instances of objects magically appear...

2019-02-01 Thread Alex Harui
bjChild["dataProvider"] = null; if ("selectedIndex" in objChild)objChild["selectedIndex"] = -1; if ("selectedItem" in objChild)objChild["selectedItem"] = null; //if ("value" in objChild)objChild["value"]

Re: instances of objects magically appear...

2019-02-01 Thread Paul Stearns
if ("selectedItem" in objChild)objChild["selectedItem"] = null; //if ("value" in objChild)objChild["value"] = null; if ("text" in objChild)objChild["text"] = null; objChild = null; } objChild = null; }

Re: instances of objects magically appear...

2019-02-01 Thread Alex Harui
It was hard to read the code in the email. In the future, try using pastebin or some other service, or open a JIRA issue and put the code in there. I think I saw that a Dictionary was holding the children but it isn't a weak-reference dictionary, so that could pin those children in memory.

instances of objects magically appear...

2019-02-01 Thread Paul Stearns
I am trying to solve my memory leak issue. I have added a clearEvents function to my testing modules. My thought is to execute this function prior to unloading each module. Towards that end I have created a function in the parentApplication called clearModuleEvents which recursively loops