diff options
| author | Dave Parks <davep@lindenlab.com> | 2022-08-31 11:36:00 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2022-08-31 11:36:00 -0500 |
| commit | c9f893b1003b2d9db01362430dbbfa59a91d4fd7 (patch) | |
| tree | 39f169f9d5d37d88ee007ae5995cbd8cce83c798 /indra/newview/llappviewer.cpp | |
| parent | e8002dc00f0a043021c16291c2ea6a2de72ff260 (diff) | |
SL-18065 WIP -- Adjust max virtual size to keep debug floater readable. Make assert on shutdown less frequent (still not gone, likely race condition). Fix unrelated assertion in reflection probes.
Diffstat (limited to 'indra/newview/llappviewer.cpp')
| -rw-r--r-- | indra/newview/llappviewer.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 0e2828332e..6ca35684d9 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2068,8 +2068,12 @@ bool LLAppViewer::cleanup() //MUST happen AFTER SUBSYSTEM_CLEANUP(LLCurl) delete sTextureCache; sTextureCache = NULL; - delete sTextureFetch; - sTextureFetch = NULL; + if (sTextureFetch) + { + sTextureFetch->shutdown(); + delete sTextureFetch; + sTextureFetch = NULL; + } delete sImageDecodeThread; sImageDecodeThread = NULL; delete mFastTimerLogThread; |
