diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2017-03-13 13:58:59 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2017-03-13 13:58:59 -0400 |
commit | 04c3f2b0f0e6cc2a2a64007ae179072ed45102b5 (patch) | |
tree | b05bbd92397bcd138c1246789e9774aecddec799 /indra/llcommon/llinitdestroyclass.cpp | |
parent | d1ef2a72912bc43e33ca58fdbfcf2662c2b8325b (diff) |
DRTVWR-418: Tweak shutdown sequence to avoid resurrecting singletons.
The LLSingletonBase::deleteAll() call late in LLAppViewer::cleanup() deletes
the LLSingleton(s) used by the logging machinery, among other things. Attempting
further logging after that call (such as our cheery "Goodbye!") has the
unfortunate effect of attempting to resurrect the deleted LLSingleton(s). Move
"Goodbye!" to just *before* the call.
Also, given that call, the manual references to a couple specific LLSingletons
in ~LLAppViewer() are (a) unnecessary and (b) cause attempted resurrection.
Eliminate both.
Diffstat (limited to 'indra/llcommon/llinitdestroyclass.cpp')
0 files changed, 0 insertions, 0 deletions