Skip to content
Snippets Groups Projects
Commit 084f7cf4 authored by andreykproductengine's avatar andreykproductengine
Browse files

MAINT-7257 Added null check for volume manager

parent f1e00870
No related branches found
No related tags found
No related merge requests found
...@@ -172,7 +172,7 @@ LLPrimitive::~LLPrimitive() ...@@ -172,7 +172,7 @@ LLPrimitive::~LLPrimitive()
{ {
clearTextureList(); clearTextureList();
// Cleanup handled by volume manager // Cleanup handled by volume manager
if (mVolumep) if (mVolumep && sVolumeManager)
{ {
sVolumeManager->unrefVolume(mVolumep); sVolumeManager->unrefVolume(mVolumep);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment