summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-04-07 10:07:21 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-04-07 10:07:21 +0300
commita06f42369d0e71b47fe1b868d9e33c434cd941fe (patch)
tree1d50f1c03728529ae5803d8a98e18a1d4e6db53e
parent5c5574c27dcd06e98306f70ff39dffd270f7f278 (diff)
MAINT-7247 Crash when closing "Upload model" floater right after selecting model
-rw-r--r--indra/newview/llfloatermodelpreview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index c654817849..b3885bf36c 100644
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -1262,6 +1262,10 @@ LLModelPreview::~LLModelPreview()
// glod.dll!glodShutdown() + 0x77 bytes
//
//glodShutdown();
+ if(mModelLoader)
+ {
+ mModelLoader->shutdown();
+ }
}
U32 LLModelPreview::calcResourceCost()