Salome HOME
CCAR: solve some problems during shutdown BR_PERF V4_1_3 V4_1_3rc2
authorcaremoli <caremoli>
Sun, 8 Jun 2008 13:18:40 +0000 (13:18 +0000)
committercaremoli <caremoli>
Sun, 8 Jun 2008 13:18:40 +0000 (13:18 +0000)
commita699cf9821d01dc9c607701e2d2db0ac877c0c4e
tree24e66da19313a7bca0c0a5d99d6872e954261b5a
parent62bfa41d685253530e469d3a29435286de4861a8
CCAR: solve some problems during shutdown
- singletons are deleted at exit (atexit function is called at the beginning of programs)
but order is important. Trace singleton must be destroyed last because MESSAGE
and others are called in destructor of other singletons.
So I have enforced local trace initialization in ATEXIT_ class from Utils directory

- Improve Registry shutdown (called _remove_ref to delete RegistryService object)
- add a delay between shutdown servers and kill omninames in shutdownSalome.py
bin/shutdownSalome.py
src/Registry/RegistryService.hxx
src/Registry/SALOME_Registry_Server.cxx
src/Utils/Utils_DESTRUCTEUR_GENERIQUE.cxx
src/Utils/Utils_DESTRUCTEUR_GENERIQUE.hxx