Hey, Wim
First thank you very much for your answer.
> You'll have to manage yourself a list of WApplications/... that need
> to be updated on a server push, for example by using a global
> variable that contains a list of applications. Applications can put
> themselves in the list in the application constructor, and remove them
> from the list in the destructor (but the appropriate way to do this
> really depends on your application).
I did it like what you say, but there's a big problem: cause, the global
variable is a list, all keepalive application instances are stored in it,
but I cann't delete any elements in it, I did it in the destructor. The
destructor never called, because there's server push data to the
application instance, which does not care about the browser is closed or
not, the keepalive timer is changed to default again. I'm very distress
about this problem.
---
B.R.
Jiongliang
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest