0

DesktopCleanup called when app shuts down?

asked 2014-11-26 15:27:32 +0800

meh gravatar image meh
57 1

Hello All,

I have listeners for DesktopCleanup and WebAppCleanup. DesktopCleanup is called correctly when the user closes the browser or when the session times out. However, when the application shuts down, WebAppCleanup is invoked, but DesktopCleanup is not.

My question is whether this is the intended behavior, or if I can change something to get the desktops cleaned up when the app shuts down.

Thank you.

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-11-26 17:42:37 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

Search this forum for: 'How to get all desktops'

You must create a map that stores all Desktops by their initialization. Than on shutdown go through the list and clear all.

Besteht stephan

Sorry cannot copy/paste the link in my mobile tablet.

link publish delete flag offensive edit

Comments

Thanks - this is what I did and it is working fine.

meh ( 2014-12-05 09:56:36 +0800 )edit
0

answered 2014-11-30 17:32:24 +0800

Darksu gravatar image Darksu
1991 1 4

Hello meh,

Some additional information (probably the link mentioned above) is to check out the following url on how to store information for each desktop, session:

http://ben-bai.blogspot.gr/2012/12/initcleanup-sessiondesktop-in-zk.html

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2014-11-26 15:27:32 +0800

Seen: 15 times

Last updated: Nov 30 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More