From fec6bbddc371b2d1e0aa41d39a1b3dfaa8fb2016 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Fri, 3 Nov 2017 20:30:47 +0200 Subject: MAINT-7974 Fixed LLProfile crash(error) caused by thread unsafe variable --- indra/llmath/llvolume.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'indra/llmath/llvolume.cpp') diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index b0ac3c9436..5068c9c685 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -2032,13 +2032,8 @@ void LLPathParams::copyParams(const LLPathParams ¶ms) setSkew(params.getSkew()); } -S32 profile_delete_lock = 1 ; LLProfile::~LLProfile() { - if(profile_delete_lock) - { - LL_ERRS() << "LLProfile should not be deleted here!" << LL_ENDL ; - } } @@ -2103,9 +2098,7 @@ LLVolume::~LLVolume() sNumMeshPoints -= mMesh.size(); delete mPathp; - profile_delete_lock = 0 ; delete mProfilep; - profile_delete_lock = 1 ; mPathp = NULL; mProfilep = NULL; -- cgit v1.2.3