From db8221a03dee2be6522c650dcf76d43347a9af87 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 14 Feb 2019 23:19:51 +0100 Subject: [PATCH] pgraph: remove pointless lock grab from RenderAttrib destructor --- panda/src/pgraph/renderAttrib.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/panda/src/pgraph/renderAttrib.cxx b/panda/src/pgraph/renderAttrib.cxx index 362419ff65..4abde672dd 100644 --- a/panda/src/pgraph/renderAttrib.cxx +++ b/panda/src/pgraph/renderAttrib.cxx @@ -45,8 +45,6 @@ RenderAttrib() { */ RenderAttrib:: ~RenderAttrib() { - LightReMutexHolder holder(*_attribs_lock); - // unref() should have cleared this. nassertv(_saved_entry == -1); }