summaryrefslogtreecommitdiff
path: root/indra/newview/llpathfindingnavmeshzone.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2021-11-30 15:22:26 -0500
committerNat Goodspeed <nat@lindenlab.com>2021-11-30 17:00:09 -0500
commit01317a2faded53c79db7e0814426f1d8b2fd12fc (patch)
tree75e42096bc5ed2cdff78a4a7a58d873f9bff9a83 /indra/newview/llpathfindingnavmeshzone.h
parent9be88050e67edcb8578ce6edbee255ba66e553a1 (diff)
SL-16421: Destroy the "General" ThreadPool as soon as cleanup starts.
Introduce LLAppViewer::onCleanup(), a method that accepts a nullary callable to execute once viewer shutdown begins. Fire the collected callables in LLAppViewer::cleanup(). In llstartup.cpp, instead of declaring a static unique_ptr and relying on static object destruction to clean up the "General" ThreadPool, bind the pointer to the new ThreadPool into an onCleanup() lambda that will delete it when called. ~ThreadPool() takes care of orderly shutdown.
Diffstat (limited to 'indra/newview/llpathfindingnavmeshzone.h')
0 files changed, 0 insertions, 0 deletions