Hi Daniel and Matt

Thanks for your messages, that was it - code placed in wrong section. The 
problem is solved now.

S pozdravem / Best regards,

Monika Falk, Software Specialist
Tieto



----------------------------------------------------------------------

Message: 1
Date: Wed, 15 Jul 2009 14:23:42 +0100
From: Matthew Gregory <[email protected]>
Subject: Re: [qooxdoo-devel] Memory management once again
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

IIRC destruct should be a direct child of the class not in the members 
directory.


qx.Class.define("mytest.Application",
{
   extend : qx.application.Standalone,

   members :
   {

     __mainContainer : null,
     main : function()
     {
       this.base(arguments);

       if (qx.core.Variant.isSet("qx.debug", "on"))
       {
         qx.log.appender.Native;
         qx.log.appender.Console;
       }

       this.__mainContainer = new qx.ui.container.Composite();

     }
   },

   destruct : function()
   {
     this._disposeObjects("__mainContainer");
   }
});


HTH,
Matt
------------------------------

Message: 2
Date: Wed, 15 Jul 2009 15:23:23 +0200
From: Daniel Wagner <[email protected]>
Subject: Re: [qooxdoo-devel] Memory management once again
To: qooxdoo Development <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Monika,

your destruct function is correct, you just declared it in the wrong 
place: It must be on the same level as the members section, not inside it.


Regards,
Daniel


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to