summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-11-22 01:24:47 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-11-22 01:24:47 +0200
commit9ea7526f602d68cecd5b6665fad375d480232df1 (patch)
treed8d390ecdf695ccc65aac546a598dee213e5edd0
parent96f0c958984d1dc292a64a53173c7afb2229e171 (diff)
SL-18565 Prevent texture fetch crash on second login attempt
-rw-r--r--indra/newview/llstartup.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 1e446fce08..1dd5c5cbe5 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -2917,6 +2917,7 @@ void reset_login()
gAgentWearables.cleanup();
gAgentCamera.cleanup();
gAgent.cleanup();
+ gSky.cleanup(); // mVOSkyp is an inworld object.
LLWorld::getInstance()->resetClass();
if ( gViewerWindow )