Ignore:
Timestamp:
07/24/07 14:47:27 (5 years ago)
Author:
sys
Message:

memLeaks : ajout de la méthode destroy() pour compenser l'absence d'appel des destructor des XBL si les éléments ont été extraits du Document.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Xul_Cms/chrome/content/scenaricms/widgets/item/item.xbl.xml

    r9158 r9392  
    103103                                this.xUpdateVal(); 
    104104                        ]]></constructor> 
    105                         <destructor> 
     105                        <destructor>this.destroy();</destructor> 
     106                        <method name="destroy"> 
     107                                <body> 
    106108                                if(this.fLastUri) this.fUriObject.removeUpdateListener(this, this.fLastUri); 
    107                         </destructor> 
     109                                </body> 
     110                        </method> 
    108111                        <property name="cd" onget="return this.fCd"/> 
    109112                        <property name="sp" onget="return (this.fSp || ! this.fUriObject) ? this.fSp : ut.getSpaceFromUri(this.fUriObject.getUri());"/> 
Note: See TracChangeset for help on using the changeset viewer.