Widgets: Window: Closing a window leaks memory
----------------------------------------------

                 Key: XAP-544
                 URL: https://issues.apache.org/jira/browse/XAP-544
             Project: XAP
          Issue Type: Bug
          Components: Widgets: Windows and Dialogs
            Reporter: Trevor Oldak


Run the following xal in IE6 or IE7
<xal xmlns="http://openxal.org/ui"; xmlns:xal="http://openxal.org/ui"; 
xmlns:macro="http://openxal.org/core/macro"; 
xmlns:xm="http://openxal.org/core/xmodify";>
    <macro:macro name="addWindow">
        <xm:modifications>
            <xm:append select="id('foobar')">
                <window title="new window" width="200px" height="150px">
                    <button text="i do nothing"/>
                </window>
            </xm:append>
        </xm:modifications>
    </macro:macro>
    
    <freePane id="foobar" width="500px" height="500px">
        <button text="click me, then close window" 
onCommand="macro:addWindow.execute()"/>
    </freePane>
</xal>

Each time you open and close the window, 22 more nodes are kept in memory. 
Navigating away from the page frees the memory again. This is easiest to see 
with sIEve


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to