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
Branches
Tags
No related merge requests found
......@@ -172,7 +172,7 @@ LLPrimitive::~LLPrimitive()
{
clearTextureList();
// Cleanup handled by volume manager
if (mVolumep)
if (mVolumep && sVolumeManager)
{
sVolumeManager->unrefVolume(mVolumep);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment