Matthew Gregory wrote:
> I haven't looked at this but from what I have seen of the event system 
> you can't safely save a reference to an event object and compare it with 
> another. The reason is that event objects are pooled so it could well be 
> that the same event object is used for two different events.
>   
Ok, if there is a single event, for which multiple listeners are there, 
each can be doing its own thing. In that case, using the same event 
object is right.

But in my case, the same listener is called with the same event twice 
and I'm doing some time consuming server oriented stuff here and doing 
that twice for nothing isn't useful and adds to the time user has to sit 
waiting for the ui to load :) Hope some one can clear this up.

cheers,
skar.

-- 
--
The life so short, the craft so long to learn. 


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to