Hi,

I am trying to clean my code on the Qooxdoo Close event.
I have a variable set to false initially, which changes to true if some
library is loaded.
During the onclose event I am checking if this variable is true, then a
proceed with disposing of the library.
However, no matter of whether I set true to this variable, it is always
false.
How can I keep its value during close event?

Sample Code:

extend : qx.application.Standalone,
  members :
  {
        lib : null, 
        lib_exit : null,
        _clean : false,
        
         close: function() {
                 this.base(arguments);
                  if (this._clean) {
                this.lib_exit();
                this.lib.close();
          }
          

Thanks.



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Qooxdoo-variable-value-changes-during-on-close-event-tp7582034.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to