View Single Post
  #1 (permalink)  
Old 10-11-2004
stephan stephan is offline
Registered User
 
Name: Stephan Stapel
Organization: Stephan Stapel
Project: BristolNG
 
Join Date: Oct 2003
Location: Essen, Germany
Posts: 169
Notification on communicator shutdown

Hi!

Maybe I just need a pointer to the documentation but I cannot find the issue there

Is it possible to be notified when the communicator is about to be destroyed? The reason is that I would like to do 'one very last thing', i.e. logging out from a session manager on shutdown.

The alternative would be to use a smart singleton that also receives such a notification (it is being destroyed automatically on application destroyal). But this point should be too late since I assume that the communicator object will already be dead at the point where the singleton object is about to be deleted.

If you know a design alternative, I'd be eager to learn more about it

Kind regards,

Stephan
Reply With Quote