phoenix-firestorm/indra
Nat Goodspeed ca1d051a15 SL-11216: Remove LLSingletonBase::cleanupAll().
Remove call from LLAppViewer::cleanup().

Instead, make each LLSingleton<T>::deleteSingleton() call cleanupSingleton()
just before destroying the instance. Since deleteSingleton() is not a
destructor, it's fine to call cleanupSingleton() from there; and since
deleteAll() calls deleteSingleton() on every remaining instance, the former
cleanupAll() functionality has been subsumed into deleteAll().

Since cleanupSingleton() is now called at exactly one point in the instance's
lifetime, we no longer need a bool indicating whether it has been called.

The previous protocol of calling cleanupAll() before deleteAll() implemented a
two-phase cleanup strategy for the application. That is no longer needed.
Moreover, the cleanupAll() / deleteAll() sequence created a time window during
which individual LLSingleton<T> instances weren't usable (to the extent that
their cleanupSingleton() methods released essential resources) but still
existed -- so a getInstance() call would return the crippled instance rather
than recreating it.

Remove cleanupAll() calls from tests; adjust to new order of expected side
effects: instead of A::cleanupSingleton(), B::cleanupSingleton(), ~A(), ~B(),
now we get A::cleanupSingleton(), ~A(), B::cleanupSingleton(), ~B().
2019-05-30 08:23:32 -04:00
..
cmake Get rid of vstool 2019-03-06 16:31:11 +02:00
copy_win_scripts
doxygen
integration_tests
lib/python/indra
linux_crash_logger
llappearance Automated merge with ssh://bitbucket.org/lindenlab/vir-fixes 2019-02-06 15:53:14 -05:00
llaudio
llcharacter SL-10471 - collision volume api 2019-02-06 13:44:54 +00:00
llcommon SL-11216: Remove LLSingletonBase::cleanupAll(). 2019-05-30 08:23:32 -04:00
llcorehttp Teamcity W64 build freeze. 2019-02-15 22:05:44 +02:00
llcrashlogger
llimage
llimagej2coj
llinventory
llkdu
llmath Merged in lindenlab/viewer-release 2019-04-02 21:51:54 +03:00
llmessage Merged in lindenlab/viewer-release (EAM) 2019-04-17 16:26:45 +03:00
llplugin Merged in lindenlab/viewer-release 2019-03-01 02:24:00 +02:00
llprimitive Merged in lindenlab/viewer-release 2019-04-02 21:51:54 +03:00
llrender Merged in lindenlab/viewer-release 2019-03-01 10:55:47 +02:00
llui Mac buildfix 2019-05-14 01:14:54 +03:00
llvfs Merged in lindenlab/viewer-release 2019-03-01 02:24:00 +02:00
llwindow SL-10888 Fixed OSX mouse issues in HiDPI mode 2019-04-15 20:26:13 +03:00
llxml Merged in lindenlab/viewer-release 2019-03-01 02:24:00 +02:00
mac_crash_logger
media_plugins Pull in a change to Dullahan that allows user to specify flag that lets video/audio autoplay like it did before Chrome 70? (Dullahan v1.1.1320). Also sets a flag in media plugin CEF code to change the settings from false (default) to true 2019-03-18 15:36:16 -07:00
newview SL-11216: Remove LLSingletonBase::cleanupAll(). 2019-05-30 08:23:32 -04:00
test
tools/vstool
viewer_components
win_crash_logger
CMakeLists.txt
edit-me-to-trigger-new-build.txt
fix-incredibuild.py