summaryrefslogtreecommitdiff
path: root/indra/newview/llworld.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-04-21 22:58:30 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-04-21 22:58:30 +0300
commitffdc04f5d2b2d952ace912a473b11f4305e9d057 (patch)
treea9aabd5764d8fc2431b0dfba43837c748c0c323f /indra/newview/llworld.cpp
parentcf7bc4406e983b3779db0bffff8057b36702cf8d (diff)
SL-17040 Crash due to LLWord not existing
LLWord should persist till the end due to wide usage.
Diffstat (limited to 'indra/newview/llworld.cpp')
-rw-r--r--indra/newview/llworld.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index 82629fd737..8abb49fba8 100644
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -113,7 +113,7 @@ LLWorld::LLWorld() :
}
-void LLWorld::destroyClass()
+void LLWorld::resetClass()
{
mHoleWaterObjects.clear();
gObjectList.destroy();
@@ -135,7 +135,6 @@ void LLWorld::destroyClass()
LLDrawable::incrementVisible();
LLSceneMonitor::deleteSingleton();
- LLWorld::deleteSingleton();
}