Hi All,
I built a bare-bones test for this and I think it's confirmed.
I created a new application, did nothing but added a 'terminate' method
which looked like this
terminate: function()
{
this.base();
debugger;
}
In source mode, the debugger is triggered before navigating away or
closing the window, in the build version it is not. I did a text search
and the 'debugger;' statement does appear in the compiled build version.
I've raised a bug: http://bugzilla.qooxdoo.org/show_bug.cgi?id=5822
If this is an easy one I'd be eternally indebted to the Qooxdoo team if it
were to get fixed in time for 1.5.1 release :)
Thanks!
Nick Tindall
From: [email protected]
To: [email protected]
Date: 23/11/11 01:03 PM
Subject: [qooxdoo-devel] Standalone.terminate() never executed in
'build' version
Hi All,
I THINK I've noticed the terminate() method not being called in the build
version of my application (extends qx.application.Standalone).
It seems to work fine in the source build, but not the build version. I'm
not sure how to make a playground example to illustrate this one.
In my application, when the user closes the window or navigates away from
the application I send a synchronous XHR that logs the user out (in the
terminate method). This works reliably in the source version, but doesn't
seem to happen in the build version.
The only way I could think to verify that terminate was not being called
at all (as alert doesn't seem to work and I can't find a place to put a
breakpoint) was by making changes to a cookie in the terminate method.
When I tried this I looked afterwards at the cookie and it was unchanged,
so I can only assume terminate isn't being called.
Can anyone confirm this? Should I raise a bug? I'm using framework 1.5
Nick Tindall
_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services - powered by MessageLabs. For further information
visit http://www.mci.com
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel